We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
attribute Promise<DOMString>[] baz
With a No name in attribute, line 3 (tokens: '[] baz;') error.
No name in attribute, line 3 (tokens: '[] baz;')
https://github.com/jyasskin/webidl2.js/compare/array-of-promise has a failing test case for this, based on a test case in ReSpec.
The text was updated successfully, but these errors were encountered:
Hmmmm, an array of Promises? If this is something you found in the ReSpec test suite, it could possibly be that ReSpec was on crack at the time :)
@tobie Since you most recently looked into the generics code, is this something that should actually work?
Sorry, something went wrong.
So this is a valid WebIDL construct as sequences aren't permitted in attributes. I don't see why it should not work out of the box, frankly.
Make attribute Promise<T>[] attr; work.
attribute Promise<T>[] attr;
4e64aae
This appears in the #attr-basic test case for ReSpec. Fixes w3c#19.
No branches or pull requests
With a
No name in attribute, line 3 (tokens: '[] baz;')
error.https://github.com/jyasskin/webidl2.js/compare/array-of-promise has a failing test case for this, based on a test case in ReSpec.
The text was updated successfully, but these errors were encountered: