Open nektro opened 3 weeks ago
Hmm? That's literally "invalid" idl 👀
But it's true that it's overdue of this void thing, I'll remove the void support completely. I don't think that specific test will change, though.
right but since void
isnt a keyword anymore its validly parsed as an identifier (granted one that doesnt match to anything, but that would only be found out at a later step) (i suppose the validator here could be doing that but mine wasn't which is what led to the confusion)
Definitions Definition CallbackOrInterfaceOrMixin InterfaceOrMixin InterfaceRest InterfaceMembers InterfaceMember PartialInterfaceMember Operation RegularOperation Type SingleType DistinguishableType identifier
similar to how the following passes on https://w3c.github.io/webidl2.js/checker/
[Exposed=Window]
interface Foo {
Bar foo();
};
Oh right, yes. Good point, thank you.
https://github.com/w3c/webidl2.js/blob/83fffdb/test/invalid/idl/void-keyword.webidl#L1-L4
removed here https://github.com/whatwg/webidl/pull/906