mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
End foreach IEnumerator<T>
search when one is found in a type
This commit is contained in:
parent
31115d8385
commit
506bb646ac
1 changed files with 3 additions and 0 deletions
|
@ -6482,6 +6482,9 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (itrInterface != NULL)
|
||||||
|
break;
|
||||||
|
|
||||||
enumeratorTypeInst = enumeratorTypeInst->mBaseType;
|
enumeratorTypeInst = enumeratorTypeInst->mBaseType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue