mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: Removed exclusion of FunctionExpr from compound statements.
This commit is contained in:
@@ -139,8 +139,7 @@ predicate isCompoundExpression(Expr e) {
|
||||
or
|
||||
e instanceof SeqExpr
|
||||
or
|
||||
e instanceof ParExpr and
|
||||
not e.stripParens() instanceof FunctionExpr
|
||||
e instanceof ParExpr
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user