mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +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: }
|
|
| ^^^^^^^
|
|
|