Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of includes statements is not a well-defined concept #473

Open
bzbarsky opened this issue Nov 3, 2017 · 1 comment
Open

Order of includes statements is not a well-defined concept #473

bzbarsky opened this issue Nov 3, 2017 · 1 comment

Comments

@bzbarsky
Copy link
Collaborator

bzbarsky commented Nov 3, 2017

https://heycam.github.io/webidl/#idl-interface-mixins says:

The order of appearance of includes statements affects the order in which interface mixin are included by their host interface.

But "order of appearance of includes statements" is not really defined, since they can appear in multiple specifications.

As a data point, what Gecko does in practice right now (pre-mixin, in the "implements" and consequential interface world), is to sort the consequential interfaces by name, then include their members in that order.

@tobie
Copy link
Collaborator

tobie commented Nov 3, 2017

Yeah, this is what I was trying to get at here: #432.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants
@tobie @bzbarsky and others