mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
IntUnknown fix
This commit is contained in:
parent
474454382f
commit
4e0ba6b746
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue