JS: Removed exclusion of FunctionExpr from compound statements.

This commit is contained in:
Napalys Klicius
2025-06-02 17:35:23 +02:00
parent 1f256ab71e
commit bf48b59874
3 changed files with 3 additions and 5 deletions

View File

@@ -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
}
/**