mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
PopulateType issue
This commit is contained in:
parent
36b56563a2
commit
b1e6ce17a6
1 changed files with 1 additions and 0 deletions
|
@ -3975,6 +3975,7 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar
|
|||
}
|
||||
else if ((target.mType->IsStruct()) && (!target.IsAddr()))
|
||||
{
|
||||
mModule->mBfIRBuilder->PopulateType(targetValue.mType);
|
||||
retVal = BfTypedValue(mModule->mBfIRBuilder->CreateExtractValue(targetValue.mValue, fieldInstance->mDataIdx/*, field->mName*/),
|
||||
resolvedFieldType);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue