Skip to content

Commit

Permalink
Allow "constructor" as an argument name (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored and Ms2ger committed Sep 2, 2019
1 parent fa38f6c commit fad813a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ underscore.
"attribute"
"callback"
"const"
"constructor"
"deleter"
"dictionary"
"enum"
Expand Down Expand Up @@ -714,7 +715,7 @@ keyword token is used, then the [=identifier=] of the operation argument
is simply that token.

The [=identifier=] of any of the abovementioned
IDL constructs must not be "<code>constructor</code>",
IDL constructs (except operation arguments) must not be "<code>constructor</code>",
"<code>toString</code>",
or begin with a <span class="char">U+005F LOW LINE ("_")</span> character. These
are known as <dfn id="dfn-reserved-identifier" export>reserved identifiers</dfn>.
Expand Down

0 comments on commit fad813a

Please sign in to comment.