File tree Expand file tree Collapse file tree
test/query-tests/Expressions/ExprHasNoEffect Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,8 +139,7 @@ predicate isCompoundExpression(Expr e) {
139139 or
140140 e instanceof SeqExpr
141141 or
142- e instanceof ParExpr and
143- not e .stripParens ( ) instanceof FunctionExpr
142+ e instanceof ParExpr
144143}
145144
146145/**
Original file line number Diff line number Diff line change 1212| tst.js:50:3:50:36 | new Err ... age(e)) | This expression has no effect. |
1313| tst.js:61:2:61:20 | o.trivialNonGetter1 | This expression has no effect. |
1414| tst.js:77:24:77:24 | o | This expression has no effect. |
15- | uselessfn.js:1:1:1:26 | (functi ... .");\\n}) | This expression has no effect. |
Original file line number Diff line number Diff line change 1- ( function f ( ) { // $ Alert
1+ ( function f ( ) { // $MISSING: Alert
22 console . log ( "I'm never called." ) ;
3- } )
3+ } )
You can’t perform that action at this time.
0 commit comments