archives

« Bugzilla Issues Index

#4411 — 15.1.1: 'StatementList' not defined


In 15.1.1 "Static Semantics: Early Errors",
group 1 / bullet 2 says:
It is a Syntax Error if any element of the LexicallyDeclaredNames of
StatementList also occurs in the VarDeclaredNames of ScriptBody.

but the nonterminal StatementList is not defined by the group's head production.

Move the rule to group 2?


StatementList replaced with ScriptBody


corrected in final (June 21, 2015) Ecma distribution update