fix(semantic): disallow let as destructured catch param in sloppy mode#12306
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #12306 will not alter performanceComparing Summary
|
|
I think this is right, but I only based it on observing what NodeJS does. Need to find the part of the spec that covers this and check NodeJS/V8 is right. |
12caa0c to
ec33e37
Compare
683c0c1 to
9738474
Compare
4c00f41 to
c09872e
Compare
ec33e37 to
5710f38
Compare
a3f1d13 to
f047374
Compare
c09872e to
da820b9
Compare

Fix
check_binding_identifierto handle oddities aroundletbindings in catch params.This is legal:
But these are syntax errors!