Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMissing UpdateExpression #524
Comments
bterlson
closed this
in
bb58dff
Apr 6, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
leobalter commentedApr 6, 2016
There's a missing part for UpdateExpression syntax at the Expressions summary (
A.2 Expressions) section on the current draft:At ES5 we can find the PostfixExpressions syntax below linking to sec 11.3:
At ES6 we found the syntax below linking to sec 12.4:
At ES7 and the current draft PostfixExpression was renamed to UpdateExpression and it's found at with the following incomplete syntax:
The problem is apparently with the link generated from the spec.html, pointing to the syntax at the 11.9.1 Rules of Automatic Semicolon Insertion section instead of the proper 12.4 Update Expressions section.
The proper section provides the proper syntax for UpdateExpression:
And that's what should be produced to A.2.
Apparently, the syntax at 11.9.1 being declared before 12.4 makes the process tool to use it as the valid production of UpdateExpression, fetching the wrong syntax when the Summary Annex requests it via
<emu-prodref name=UpdateExpression></emu-prodref>at spec.html line 35441.That also produces repeated ids on the generated html.
I still need to check if this bug happens on another item at the summary or using the
<emu-prodref />tag.