foreach missing body crash fix (#515)
This commit is contained in:
parent
34f893d29f
commit
142e284588
|
@ -160,7 +160,8 @@ class UnmodifiedFinder : BaseAnalyzer
|
||||||
foreachStatement.low.accept(this);
|
foreachStatement.low.accept(this);
|
||||||
interest--;
|
interest--;
|
||||||
}
|
}
|
||||||
foreachStatement.declarationOrStatement.accept(this);
|
if (foreachStatement.declarationOrStatement !is null)
|
||||||
|
foreachStatement.declarationOrStatement.accept(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
override void visit(const TraitsExpression)
|
override void visit(const TraitsExpression)
|
||||||
|
|
Loading…
Reference in New Issue