1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 04:52:21 +02:00

Force mixin result to value (not addr)

This commit is contained in:
Brian Fiete 2022-06-14 10:09:57 -07:00
parent a24800a5a3
commit 6b1d9df8d2

View file

@ -17186,6 +17186,8 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
mResult = BfTypedValue(BfIRValue(), mModule->GetPrimitiveType(BfTypeCode_None)); mResult = BfTypedValue(BfIRValue(), mModule->GetPrimitiveType(BfTypeCode_None));
} }
mResult = mModule->LoadValue(mResult);
int localIdx = startLocalIdx; int localIdx = startLocalIdx;
argExprEvaluatorItr = argExprEvaluators.begin(); argExprEvaluatorItr = argExprEvaluators.begin();