swc/ecmascript/parser/tests/span/js/decl/static-blocks-with-line-breaks.js.spans
Sosuke Suzuki cbc8230310
fix(es/parser): Fix parsing of static blocks (#2200)
swc_ecma_parser:
 - Fix parsing of static blocks with line breaks. (#2195)
2021-09-03 14:57:23 +09:00

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;
| ^