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

Cannot parse with webidl2 because B implements A doesn't seem to be valid syntax #418

Open
Ohems opened this issue Jul 25, 2023 · 0 comments

Comments

@Ohems
Copy link

Ohems commented Jul 25, 2023

Trying to parse the ammo.idl file last updated in commit 1a601e4 with the WebIDL2.js online checker yields the following error:

WebIDLParseError: Syntax error at line 49, since `interface btVector4`:
btVector4 implements btVector3;
^ Unrecognised tokens

Inheritance is currently done with

interface A {};
interface B {};
B implements A;

while according to the WebIDL specification it should apparently be done with

interface A {};
interface B : A {};

I wonder if this is a bug in the WebIDL2.js library or in this one as I'm not experienced in WebIDL.

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

1 participant