swc/ecmascript/parser/tests/span/js/pat/assign-pat-prop.js.spans
2020-08-05 12:34:44 +09:00

97 lines
2.1 KiB
Plaintext

warning: Module
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:1
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: ModuleItem
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:1
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: Stmt
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:1
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: Decl
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:1
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: VarDecl
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:1
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: VarDeclarator
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:5
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: Pat
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:5
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^
warning: ObjectPat
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:5
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^^^^^
warning: ObjectPatProp
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:7
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^
warning: AssignPatProp
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:7
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^^^^^
warning: Ident
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:7
|
1 | let { a = 'default' } = foo
| ^
warning: Expr
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:11
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^
warning: Lit
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:11
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^
warning: Str
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:11
|
1 | let { a = 'default' } = foo
| ^^^^^^^^^
warning: Expr
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:25
|
1 | let { a = 'default' } = foo
| ^^^
warning: Ident
--> $DIR/tests/span/js/pat/assign-pat-prop.js:1:25
|
1 | let { a = 'default' } = foo
| ^^^