mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed methodRef bindResult value type
This commit is contained in:
parent
98eb8f5840
commit
fd8e2dd232
3 changed files with 27 additions and 2 deletions
|
@ -11957,8 +11957,8 @@ void BfExprEvaluator::Visit(BfDelegateBindExpression* delegateBindExpr)
|
|||
if (bindResult.mTarget.IsSplat())
|
||||
target = mModule->AggregateSplat(bindResult.mTarget, &bindResult.mIRArgs[0]);
|
||||
else
|
||||
target = mModule->LoadValue(bindResult.mTarget);
|
||||
|
||||
target = bindResult.mTarget;
|
||||
|
||||
mModule->mBfIRBuilder->CreateStore(target.mValue, elemPtr);
|
||||
|
||||
mResult = BfTypedValue(methodRefPtr, methodRefType, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue