mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
13 lines
303 B
Plaintext
13 lines
303 B
Plaintext
error: Invalid left-hand side in 'for...in' statement
|
|
--> $DIR/tests/test262-parser/fail/ab9d14c2ef38f180.js:1:1
|
|
|
|
|
1 | (0, {a = 0}) = 0
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: assignment property is invalid syntax
|
|
--> $DIR/tests/test262-parser/fail/ab9d14c2ef38f180.js:1:6
|
|
|
|
|
1 | (0, {a = 0}) = 0
|
|
| ^^^^^
|
|
|