mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
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: }
|
||
|
| ^^^^^^^
|
||
|
|