swc/crates/swc_ecma_parser/tests/span/js/expr/arrow.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

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