mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
b853d4ac95
swc_ecma_parser: - Recover from unterminated string literals.
13 lines
259 B
Plaintext
13 lines
259 B
Plaintext
error: Invalid unicode escape
|
|
--> $DIR/tests/test262-parser/fail/5427bdf48f3eb6d9.js:1:3
|
|
|
|
|
1 | ('\u{2028')
|
|
| ^^^^^^^
|
|
|
|
error: Unterminated string constant
|
|
--> $DIR/tests/test262-parser/fail/5427bdf48f3eb6d9.js:1:10
|
|
|
|
|
1 | ('\u{2028')
|
|
| ^^
|
|
|