mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +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.
103 lines
1.5 KiB
Plaintext
103 lines
1.5 KiB
Plaintext
warning: Module
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: ModuleItem
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: Stmt
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: ExprStmt
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: CallExpr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: Callee
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^
|
|
|
|
warning: Ident
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:1
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^
|
|
|
|
warning: ExprOrSpread
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:5
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:5
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^
|
|
|
|
warning: ArrowExpr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:5
|
|
|
|
|
1 | use(a => a)
|
|
| ^^^^^^
|
|
|
|
warning: Pat
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:5
|
|
|
|
|
1 | use(a => a)
|
|
| ^
|
|
|
|
warning: Ident
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:5
|
|
|
|
|
1 | use(a => a)
|
|
| ^
|
|
|
|
warning: BlockStmtOrExpr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:10
|
|
|
|
|
1 | use(a => a)
|
|
| ^
|
|
|
|
warning: Expr
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:10
|
|
|
|
|
1 | use(a => a)
|
|
| ^
|
|
|
|
warning: Ident
|
|
--> $DIR/tests/span/js/expr/arrow.js:1:10
|
|
|
|
|
1 | use(a => a)
|
|
| ^
|
|
|