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

Parser throws on nullable array of any #1

Closed
dontcallmedom opened this issue Jan 7, 2013 · 1 comment
Closed

Parser throws on nullable array of any #1

dontcallmedom opened this issue Jan 7, 2013 · 1 comment

Comments

@dontcallmedom
Copy link
Member

The following valid IDL:
interface Foo {
attribute any[]? array;
};

makes webidl2.js throw:
Type any cannot be made nullable, line 2 (tokens: 'array;
};')

@darobin
Copy link
Member

darobin commented Jan 7, 2013

Thanks, I was missing a check in forbidding any?. Fixed and released as 2.0.3.

@darobin darobin closed this as completed Jan 7, 2013
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

4 participants
@darobin @dontcallmedom and others