Bug 258507
| Summary: | [JSC] var binding that duplicates lexical declaration should cause SyntaxError even if there is Annex B hoisted function by the same name | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Shvayka <ashvayka> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Alexey Shvayka
Test case: JSTests/stress/eval-func-decl-within-eval-with-reassign-to-var.js (function loo())
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111305782>
Alexey Shvayka
This was resolved as part of https://commits.webkit.org/266229@main.
*** This bug has been marked as a duplicate of bug 167837 ***