1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

End foreach IEnumerator<T> search when one is found in a type

This commit is contained in:
Brian Fiete 2022-07-06 06:30:12 -07:00
parent 31115d8385
commit 506bb646ac

View file

@ -6482,6 +6482,9 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
break;
}
if (itrInterface != NULL)
break;
enumeratorTypeInst = enumeratorTypeInst->mBaseType;
}