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

Fixed opaque type issue in AssignDeferrredTupleAssignData

This commit is contained in:
Brian Fiete 2022-01-11 22:02:47 -05:00
parent 34af7f2734
commit 0e9f135d7e

View file

@ -18091,6 +18091,7 @@ void BfExprEvaluator::AssignDeferrredTupleAssignData(BfAssignmentExpression* ass
if (fieldInstance->mDataIdx >= 0)
{
rightValue = mModule->LoadOrAggregateValue(rightValue);
mModule->mBfIRBuilder->PopulateType(rightValue.mType);
auto extractedValue = mModule->mBfIRBuilder->CreateExtractValue(rightValue.mValue, fieldInstance->mDataIdx);
elementValue = BfTypedValue(extractedValue, fieldInstance->GetResolvedType());
if (child.mInnerTuple != NULL)