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

Fixed some comptime dependency rebuilding issues with aliases/extensions

This commit is contained in:
Brian Fiete 2022-02-16 18:28:23 -05:00
parent 1cd198cea9
commit 434a7406de
22 changed files with 394 additions and 86 deletions

View file

@ -6122,7 +6122,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
}
if (varType == NULL)
varType = mContext->mBfObjectType;
varType = GetPrimitiveType(BfTypeCode_Var);
bool isArray = target.mType->IsArray();
bool isSizedArray = target.mType->IsSizedArray();
bool isVarEnumerator = target.mType->IsVar();
@ -6437,7 +6437,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
}
}
if (nextEmbeddedType == NULL)
nextEmbeddedType = mContext->mBfObjectType;
nextEmbeddedType = GetPrimitiveType(BfTypeCode_Var);
BfLocalVariable* itrLocalDef = NULL;