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

Fixed extensions issues with changing root def, extending dlg/functions

This commit is contained in:
Brian Fiete 2020-05-12 09:16:17 -07:00
parent c2077acc2b
commit 6c65993401
7 changed files with 121 additions and 63 deletions

View file

@ -6133,7 +6133,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
{
AssertErrorState();
}
if (retVal)
if ((retVal) && (!retVal.mType->IsVar()))
{
auto i8Result = ExtractValue(nextResult, NULL, 2);
i8Result = LoadValue(i8Result);