mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
144 lines
2.3 KiB
Plaintext
144 lines
2.3 KiB
Plaintext
warning: Module
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:1
|
|
|
|
|
1 | / class Foo {
|
|
2 | | static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
5 | | }
|
|
| |_^
|
|
|
|
warning: ModuleItem
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:1
|
|
|
|
|
1 | / class Foo {
|
|
2 | | static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
5 | | }
|
|
| |_^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:1
|
|
|
|
|
1 | / class Foo {
|
|
2 | | static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
5 | | }
|
|
| |_^
|
|
|
|
warning: Decl
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:1
|
|
|
|
|
1 | / class Foo {
|
|
2 | | static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
5 | | }
|
|
| |_^
|
|
|
|
warning: ClassDecl
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:1
|
|
|
|
|
1 | / class Foo {
|
|
2 | | static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
5 | | }
|
|
| |_^
|
|
|
|
warning: Ident
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:7
|
|
|
|
|
1 | class Foo {
|
|
| ^^^
|
|
|
|
warning: Class
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:1:1
|
|
|
|
|
1 | / class Foo {
|
|
2 | | static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
5 | | }
|
|
| |_^
|
|
|
|
warning: ClassMember
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:2:5
|
|
|
|
|
2 | / static {
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
| |_____^
|
|
|
|
warning: BlockStmt
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:2:12
|
|
|
|
|
2 | static {
|
|
| ____________^
|
|
3 | | 1 + 1;
|
|
4 | | }
|
|
| |_____^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^^^^^^
|
|
|
|
warning: ExprStmt
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^^^^^
|
|
|
|
warning: BinExpr
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^
|
|
|
|
warning: Lit
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^
|
|
|
|
warning: Number
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:9
|
|
|
|
|
3 | 1 + 1;
|
|
| ^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:13
|
|
|
|
|
3 | 1 + 1;
|
|
| ^
|
|
|
|
warning: Lit
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:13
|
|
|
|
|
3 | 1 + 1;
|
|
| ^
|
|
|
|
warning: Number
|
|
--> $DIR/tests/span/js/decl/static-blocks.js:3:13
|
|
|
|
|
3 | 1 + 1;
|
|
| ^
|
|
|