mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
f58b50bea7
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.
139 lines
2.8 KiB
Plaintext
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()
|
|
| ^^^
|
|
|