mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Handle splat value during deferred tuple assignment
This commit is contained in:
parent
2c7daf0376
commit
25a71c284a
1 changed files with 1 additions and 0 deletions
|
@ -17781,6 +17781,7 @@ void BfExprEvaluator::AssignDeferrredTupleAssignData(BfAssignmentExpression* ass
|
|||
BfTypedValue elementValue;
|
||||
if (fieldInstance->mDataIdx >= 0)
|
||||
{
|
||||
rightValue = mModule->LoadOrAggregateValue(rightValue);
|
||||
auto extractedValue = mModule->mBfIRBuilder->CreateExtractValue(rightValue.mValue, fieldInstance->mDataIdx);
|
||||
elementValue = BfTypedValue(extractedValue, fieldInstance->GetResolvedType());
|
||||
if (child.mInnerTuple != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue