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