swc/crates/swc_ecma_parser/tests/span/js/pat/array.js.spans
Austaras f58b50bea7
refactor(es/ast): Change types of member-like expressions (#3178)
swc_ecma_ast:
 - Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
 - Use `Box<Expr>` for `MemberExpr.obj`.
 - Use ad-hoc type for `MemberExpr.prop`.
 - Use ad-hoc type for `SuperPropExpr.prop`.
 - Use `Callee` instead of  `ExprOrSpread` for `CallExpr`.
 - Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00

139 lines
2.8 KiB
Plaintext

warning: Module
--> $DIR/tests/span/js/pat/array.js:1:1
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: ModuleItem
--> $DIR/tests/span/js/pat/array.js:1:1
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: Stmt
--> $DIR/tests/span/js/pat/array.js:1:1
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: Decl
--> $DIR/tests/span/js/pat/array.js:1:1
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: VarDecl
--> $DIR/tests/span/js/pat/array.js:1:1
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: VarDeclarator
--> $DIR/tests/span/js/pat/array.js:1:5
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: Pat
--> $DIR/tests/span/js/pat/array.js:1:5
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^
warning: ArrayPat
--> $DIR/tests/span/js/pat/array.js:1:5
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^^^^^^^^^^^^
warning: Pat
--> $DIR/tests/span/js/pat/array.js:1:6
|
1 | let [a, b, c, ...rest] = foo()
| ^
warning: Ident
--> $DIR/tests/span/js/pat/array.js:1:6
|
1 | let [a, b, c, ...rest] = foo()
| ^
warning: Pat
--> $DIR/tests/span/js/pat/array.js:1:9
|
1 | let [a, b, c, ...rest] = foo()
| ^
warning: Ident
--> $DIR/tests/span/js/pat/array.js:1:9
|
1 | let [a, b, c, ...rest] = foo()
| ^
warning: Pat
--> $DIR/tests/span/js/pat/array.js:1:12
|
1 | let [a, b, c, ...rest] = foo()
| ^
warning: Ident
--> $DIR/tests/span/js/pat/array.js:1:12
|
1 | let [a, b, c, ...rest] = foo()
| ^
warning: Pat
--> $DIR/tests/span/js/pat/array.js:1:15
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^
warning: RestPat
--> $DIR/tests/span/js/pat/array.js:1:15
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^^^
warning: Pat
--> $DIR/tests/span/js/pat/array.js:1:18
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^
warning: Ident
--> $DIR/tests/span/js/pat/array.js:1:18
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^
warning: Expr
--> $DIR/tests/span/js/pat/array.js:1:26
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^
warning: CallExpr
--> $DIR/tests/span/js/pat/array.js:1:26
|
1 | let [a, b, c, ...rest] = foo()
| ^^^^^
warning: Callee
--> $DIR/tests/span/js/pat/array.js:1:26
|
1 | let [a, b, c, ...rest] = foo()
| ^^^
warning: Expr
--> $DIR/tests/span/js/pat/array.js:1:26
|
1 | let [a, b, c, ...rest] = foo()
| ^^^
warning: Ident
--> $DIR/tests/span/js/pat/array.js:1:26
|
1 | let [a, b, c, ...rest] = foo()
| ^^^