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

IntUnknown fix

This commit is contained in:
Brian Fiete 2022-03-31 06:57:30 -07:00
parent 474454382f
commit 4e0ba6b746

View file

@ -19454,6 +19454,8 @@ void BfExprEvaluator::PerformAssignment(BfAssignmentExpression* assignExpr, bool
auto refType = (BfRefType*)toType;
toType = refType->mElementType;
}
if (toType->IsIntUnknown())
toType = mModule->FixIntUnknown(toType);
if ((autoComplete != NULL) && (assignExpr->mOpToken != NULL) && (toType != NULL))
autoComplete->CheckEmptyStart(assignExpr->mOpToken, toType);