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:
parent
a24800a5a3
commit
6b1d9df8d2
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue