1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +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

@ -17185,6 +17185,8 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
// If we didn't have an expression body then just make the result "void"
mResult = BfTypedValue(BfIRValue(), mModule->GetPrimitiveType(BfTypeCode_None));
}
mResult = mModule->LoadValue(mResult);
int localIdx = startLocalIdx;