bug: exception with destructuring assignment with private fields #9310
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Spec: Class Fields
Bug Report
Current Behavior
Invalid destructuring assignment target
exception with destructuring assignment with private fieldsInput Code
transpiles to (excerpt):
Environment
update:
I suppose it would need to use _classPrivateFieldSet as well as transpile the ES2015 destructuring assignment? unless destructuring assignments work with a function call ... which I don't think it does?
for what it's worth: works in
node --harmony
v11.6.0The text was updated successfully, but these errors were encountered: