mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed null check
This commit is contained in:
parent
699243e3e0
commit
6077a343ca
1 changed files with 1 additions and 1 deletions
|
@ -5991,7 +5991,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
|
|||
}
|
||||
|
||||
BfTypedValue target;
|
||||
if (forEachStmt->mCollectionExpression != NULL)
|
||||
if (collectionExpr != NULL)
|
||||
target = CreateValueFromExpression(collectionExpr);
|
||||
if (!target)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue