This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15763 - Redundant requirement about an interface inheriting from itself
Summary: Redundant requirement about an interface inheriting from itself
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-28 17:51 UTC by Ms2ger
Modified: 2012-01-29 23:11 UTC (History)
2 users (show)

See Also:


Attachments

Description Ms2ger 2012-01-28 17:51:43 UTC
<http://dev.w3.org/2006/webapi/WebIDL/#dfn-inherit>:

> That identifier MUST NOT be the same as the identifier of the inheriting
> interface.

<http://dev.w3.org/2006/webapi/WebIDL/#dfn-inherited-interfaces>:

> An interface MUST NOT be declared such that its inheritance hierarchy has
> a cycle. That is, an interface A cannot inherit from itself, nor can it
> inherit from another interface B that inherits from A, and so on. 

The former requirement seems redundant.
Comment 1 Cameron McCormack 2012-01-29 23:11:11 UTC
OK, removed that sentence.