mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed missing PopulateType issue in PushArg
This commit is contained in:
parent
466ada3d0e
commit
0bdaa03545
1 changed files with 3 additions and 0 deletions
|
@ -7569,6 +7569,9 @@ void BfExprEvaluator::PushArg(BfTypedValue argVal, SizedArrayImpl<BfIRValue>& ir
|
||||||
argVal = mModule->GetDefaultTypedValue(mModule->mContext->mBfObjectType);
|
argVal = mModule->GetDefaultTypedValue(mModule->mContext->mBfObjectType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (argVal.mType->IsIncomplete())
|
||||||
|
mModule->PopulateType(argVal.mType);
|
||||||
|
|
||||||
if (argVal.mType->IsValuelessNonOpaqueType())
|
if (argVal.mType->IsValuelessNonOpaqueType())
|
||||||
return;
|
return;
|
||||||
bool wantSplat = false;
|
bool wantSplat = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue