Closed Bug 761621 Opened 13 years ago Closed 13 years ago

interfaces inheriting a builtinclass-interface should be builtinclass too

Categories

(Core :: XPCOM, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(2 files)

Hmm, there is + IDL_tree_property_get( + IDL_INTERFACE(iter).ident, "builtinclass")) { + IDL_tree_error(interface_tree, + "%s is not [builtinclass] but extends " + "[builtinclass] interface %s", + IDL_IDENT(IDL_INTERFACE(interface_tree).ident).str, + IDL_IDENT(IDL_INTERFACE(iter).ident).str); + return FALSE; But I don't get that error with the patch for bug 761613
Hmm, we don't have that error anymore in the python implementation.
Either do builtinclass implicitly, or error if inheriting builtinclass.
Yeah, I think implicit is bad. We should make it an error if a non-builtin inherits a builtin. That's what I was trying to implement, but maybe I went wrong somewhere. Possibly the problem is that it's not implemented correctly in the python XPIDL parser that we recently switched to.
Attached patch patchSplinter Review
Assignee: nobody → bugs
Attachment #630264 - Flags: review?(khuey)
Comment on attachment 630264 [details] [diff] [review] patch Review of attachment 630264 [details] [diff] [review]: ----------------------------------------------------------------- I'm just assuming you got all the interfaces. The xpidl.py changes are fine.
Attachment #630264 - Flags: review?(khuey) → review+
Depends on: 762007
Summary: interfaces inheriting a builtinclass-interface should be implicitly builtinclass → interfaces inheriting a builtinclass-interface should be builtinclass too
This needs the patch for Bug 762007
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: