swc/crates/swc_ecma_parser/tests/test262-error-references/fail/f4c0cdc8d5782f3f.js.swc-stderr
Donny/강동윤 7f2a2c1e40
refactor(es/ast): Improve type definitions of patterns (#8532)
**Description:**

 - Copy `AssignmentTarget` from `oxc`.
 - Use `BindingIdentifier` in more places.

**Related issue:**
 
 - Closes #8026
2024-02-05 15:32:52 +09:00

13 lines
302 B
Plaintext

x Invalid assignment target
,-[$DIR/tests/test262-parser/fail/f4c0cdc8d5782f3f.js:1:1]
1 | 3 = 4
: ^
`----
x The left-hand side of an assignment expression must be a variable or a property access.
,-[$DIR/tests/test262-parser/fail/f4c0cdc8d5782f3f.js:1:1]
1 | 3 = 4
: ^
`----