Re: [heycam/webidl] Stop using extended attributes for constructors (#700)

I am still sorting out the Gecko position here.

In terms of the actual change, after this you won't be able to use "constructor" as an argument name, dictionary member name, attribute name, or method name, unless you write it as `constructor_`.  For attribute and method names this seems OK.  For argument names, I'd suspect we want to add it to the _ArgumentNameKeyword_ production, right?  For dictionary members, do we want to allow it?  It'd require a new production for dictionary member names, but that seems fine to me... and it would be potentially useful if people want to extract things like ES class info from objects via dictionaries.

I did just check and there are no existing IDLs in Gecko that use "constructor" in any of those situations, by the way.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/700#issuecomment-516537133

Received on Tuesday, 30 July 2019 18:27:09 UTC