NEW 153310
[ES6] Several lexical binding causes SyntaxError if there is duplicate lexical/variable decl under targetting block
https://bugs.webkit.org/show_bug.cgi?id=153310
Summary [ES6] Several lexical binding causes SyntaxError if there is duplicate lexica...
Yusuke Suzuki
Reported 2016-01-21 10:39:37 PST
http://ecma-international.org/ecma-262/6.0/#sec-for-statement-static-semantics-early-errors for (let v = 42;;) { var v = 44; } should throw SyntaxError http://ecma-international.org/ecma-262/6.0/#sec-try-statement-static-semantics-early-errors try { } catch (error) { let error = 42; } should throw SyntaxError try { } catch (error) { var error = 42; } should throw SyntaxError
Attachments
Note You need to log in before you can comment on or make changes to this bug.