Skip to content

Lots of malformed WebIDL files #570

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

Closed
richard-uk1 opened this issue Jul 27, 2018 · 2 comments
Closed

Lots of malformed WebIDL files #570

richard-uk1 opened this issue Jul 27, 2018 · 2 comments

Comments

@richard-uk1
Copy link
Contributor

richard-uk1 commented Jul 27, 2018

A lot of the WebIDL files are malformed in the same way: they have an interface declaration like so:

interface nameofinterface;

which is not valid WebIDL. The valid equivalent is

interface nameofinterface {};

We could either change all the webidl files to be correct, or adapt the parser to handle the above form.

@ghost
Copy link

ghost commented Jul 27, 2018

The conclusion in #446 is:

it is fine to just comment it out and leave a comment about why it is commented out.

@alexcrichton
Copy link
Contributor

Indeed! We should update the documentation for web-sys to reflect this as well!

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

No branches or pull requests

2 participants