mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
4a30fb3436
- Make rls happy. - Some minor parser error improvements. - Add reference files for ecmascript parser errors. - Improve error message of import/export used outside of a module
13 lines
368 B
Plaintext
13 lines
368 B
Plaintext
error: A switch block cannot have multiple defaults
|
|
--> $DIR/tests/test262-parser/fail/fb130c395c6aafe7.js:1:23
|
|
|
|
|
1 | switch (c) { default: default: }
|
|
| ^^^^^^^
|
|
|
|
|
note: previous default case is declared at here
|
|
--> $DIR/tests/test262-parser/fail/fb130c395c6aafe7.js:1:14
|
|
|
|
|
1 | switch (c) { default: default: }
|
|
| ^^^^^^^
|
|
|