mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +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);
|
||||
}
|
||||
|
||||
if (argVal.mType->IsIncomplete())
|
||||
mModule->PopulateType(argVal.mType);
|
||||
|
||||
if (argVal.mType->IsValuelessNonOpaqueType())
|
||||
return;
|
||||
bool wantSplat = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue