mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
7f2a2c1e40
**Description:** - Copy `AssignmentTarget` from `oxc`. - Use `BindingIdentifier` in more places. **Related issue:** - Closes #8026
13 lines
254 B
Plaintext
13 lines
254 B
Plaintext
|
|
x Invalid assignment target
|
|
,-[$DIR/tests/test262-parser/fail/a633b3217b5b8026.js:1:1]
|
|
1 | ({a} += 0);
|
|
: ^^^
|
|
`----
|
|
|
|
x Cannot assign to this
|
|
,-[$DIR/tests/test262-parser/fail/a633b3217b5b8026.js:1:1]
|
|
1 | ({a} += 0);
|
|
: ^^^
|
|
`----
|