mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
1d0c78de6c
ecma_transforms: - implement es2015::instanceof - implement es2015::typeof_symbol - implement inline_globals pass ecma_parser: - `PResult<T>` is now `Result<T, ()>` and `Err(())` means that an error is emitted. - add docs
13 lines
241 B
Plaintext
13 lines
241 B
Plaintext
error: Unexpected eof
|
|
--> $DIR/tests/test262-parser/fail/7187f0675eb38279.js:1:7
|
|
|
|
|
1 | return
|
|
| ^
|
|
|
|
error: Return statement is not allowed here
|
|
--> $DIR/tests/test262-parser/fail/7187f0675eb38279.js:1:1
|
|
|
|
|
1 | return
|
|
| ^^^^^^
|
|
|