You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The identifier of any of the abovementioned IDL constructs (except operation arguments) must not be "constructor", "toString", or begin with a U+005F (_). These are known as reserved identifiers.
fwiw i prefer the checker's current behavior, but since it currently disagrees with the spec as-written I wanted to have a paper trail. currently searching to see if i can find the historical reason that exception was originally added.
Under https://webidl.spec.whatwg.org/#idl-names
this is to have users use Constructor and Stringifier respectively.
however, taking note of the exception, it appears the following code should pass even though today it fails the checker:
The text was updated successfully, but these errors were encountered: