[Webkit-unassigned] [Bug 153310] New: [ES6] Several lexical binding causes SyntaxError if there is duplicate lexical/variable decl under targetting block
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 21 10:39:37 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=153310
Bug ID: 153310
Summary: [ES6] Several lexical binding causes SyntaxError if
there is duplicate lexical/variable decl under
targetting block
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160121/b0bbaf38/attachment-0001.html>
More information about the webkit-unassigned
mailing list