mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
269 lines
4.4 KiB
Plaintext
269 lines
4.4 KiB
Plaintext
warning: Module
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:1
|
|
|
|
|
1 | / switch (foo()) {
|
|
2 | | case 1:
|
|
3 | | case 'a':
|
|
4 | | break;
|
|
... |
|
|
10 | | foo()
|
|
11 | | }
|
|
| |_^
|
|
|
|
warning: ModuleItem
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:1
|
|
|
|
|
1 | / switch (foo()) {
|
|
2 | | case 1:
|
|
3 | | case 'a':
|
|
4 | | break;
|
|
... |
|
|
10 | | foo()
|
|
11 | | }
|
|
| |_^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:1
|
|
|
|
|
1 | / switch (foo()) {
|
|
2 | | case 1:
|
|
3 | | case 'a':
|
|
4 | | break;
|
|
... |
|
|
10 | | foo()
|
|
11 | | }
|
|
| |_^
|
|
|
|
warning: SwitchStmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:1
|
|
|
|
|
1 | / switch (foo()) {
|
|
2 | | case 1:
|
|
3 | | case 'a':
|
|
4 | | break;
|
|
... |
|
|
10 | | foo()
|
|
11 | | }
|
|
| |_^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:9
|
|
|
|
|
1 | switch (foo()) {
|
|
| ^^^^^
|
|
|
|
warning: CallExpr
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:9
|
|
|
|
|
1 | switch (foo()) {
|
|
| ^^^^^
|
|
|
|
warning: ExprOrSuper
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:9
|
|
|
|
|
1 | switch (foo()) {
|
|
| ^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:9
|
|
|
|
|
1 | switch (foo()) {
|
|
| ^^^
|
|
|
|
warning: Ident
|
|
--> $DIR/tests/span/js/stmt/switch.js:1:9
|
|
|
|
|
1 | switch (foo()) {
|
|
| ^^^
|
|
|
|
warning: SwitchCase
|
|
--> $DIR/tests/span/js/stmt/switch.js:2:5
|
|
|
|
|
2 | case 1:
|
|
| ^^^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:2:10
|
|
|
|
|
2 | case 1:
|
|
| ^
|
|
|
|
warning: Lit
|
|
--> $DIR/tests/span/js/stmt/switch.js:2:10
|
|
|
|
|
2 | case 1:
|
|
| ^
|
|
|
|
warning: Number
|
|
--> $DIR/tests/span/js/stmt/switch.js:2:10
|
|
|
|
|
2 | case 1:
|
|
| ^
|
|
|
|
warning: SwitchCase
|
|
--> $DIR/tests/span/js/stmt/switch.js:3:5
|
|
|
|
|
3 | / case 'a':
|
|
4 | | break;
|
|
| |______________^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:3:10
|
|
|
|
|
3 | case 'a':
|
|
| ^^^
|
|
|
|
warning: Lit
|
|
--> $DIR/tests/span/js/stmt/switch.js:3:10
|
|
|
|
|
3 | case 'a':
|
|
| ^^^
|
|
|
|
warning: Str
|
|
--> $DIR/tests/span/js/stmt/switch.js:3:10
|
|
|
|
|
3 | case 'a':
|
|
| ^^^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:4:9
|
|
|
|
|
4 | break;
|
|
| ^^^^^^
|
|
|
|
warning: BreakStmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:4:9
|
|
|
|
|
4 | break;
|
|
| ^^^^^^
|
|
|
|
warning: SwitchCase
|
|
--> $DIR/tests/span/js/stmt/switch.js:5:5
|
|
|
|
|
5 | case 3: break;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:5:10
|
|
|
|
|
5 | case 3: break;
|
|
| ^
|
|
|
|
warning: Lit
|
|
--> $DIR/tests/span/js/stmt/switch.js:5:10
|
|
|
|
|
5 | case 3: break;
|
|
| ^
|
|
|
|
warning: Number
|
|
--> $DIR/tests/span/js/stmt/switch.js:5:10
|
|
|
|
|
5 | case 3: break;
|
|
| ^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:5:13
|
|
|
|
|
5 | case 3: break;
|
|
| ^^^^^^
|
|
|
|
warning: BreakStmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:5:13
|
|
|
|
|
5 | case 3: break;
|
|
| ^^^^^^
|
|
|
|
warning: SwitchCase
|
|
--> $DIR/tests/span/js/stmt/switch.js:6:5
|
|
|
|
|
6 | / case 4: {
|
|
7 | |
|
|
8 | | }
|
|
| |_____^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:6:10
|
|
|
|
|
6 | case 4: {
|
|
| ^
|
|
|
|
warning: Lit
|
|
--> $DIR/tests/span/js/stmt/switch.js:6:10
|
|
|
|
|
6 | case 4: {
|
|
| ^
|
|
|
|
warning: Number
|
|
--> $DIR/tests/span/js/stmt/switch.js:6:10
|
|
|
|
|
6 | case 4: {
|
|
| ^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:6:13
|
|
|
|
|
6 | case 4: {
|
|
| _____________^
|
|
7 | |
|
|
8 | | }
|
|
| |_____^
|
|
|
|
warning: BlockStmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:6:13
|
|
|
|
|
6 | case 4: {
|
|
| _____________^
|
|
7 | |
|
|
8 | | }
|
|
| |_____^
|
|
|
|
warning: SwitchCase
|
|
--> $DIR/tests/span/js/stmt/switch.js:9:5
|
|
|
|
|
9 | / default:
|
|
10 | | foo()
|
|
| |_____________^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^^^
|
|
|
|
warning: ExprStmt
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^^^
|
|
|
|
warning: CallExpr
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^^^
|
|
|
|
warning: ExprOrSuper
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^
|
|
|
|
warning: Ident
|
|
--> $DIR/tests/span/js/stmt/switch.js:10:9
|
|
|
|
|
10 | foo()
|
|
| ^^^
|
|
|