archives

« Bugzilla Issues Index

#2295 — 13.2.1.1: Missing early error restriction for "let" in "LexicalBinding : BindingPattern"


13.2.1.1 Static Semantics: Early Errors:

> LexicalBinding : BindingIdentifier Initialiser{opt}
> It is a Syntax Error if the BoundNames of BindingIdentifier contains "let".

There is no equivalent restriction for "LexicalBinding : BindingPattern".


fixed in rev23 editor's draft

also for class definitions


fixed in rev23 draft