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