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

Fixed var assignment detection

This commit is contained in:
Brian Fiete 2021-10-31 07:39:54 -07:00
parent 7436b201be
commit dfb16336a2

View file

@ -18348,6 +18348,7 @@ void BfExprEvaluator::PerformAssignment(BfAssignmentExpression* assignExpr, bool
if (ptr.mType->IsVar()) if (ptr.mType->IsVar())
{ {
mResult = ptr; mResult = ptr;
MarkResultAssigned();
return; return;
} }
if (convVal.mValue) if (convVal.mValue)