1
0
Fork 0
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:
Brian Fiete 2025-03-21 10:51:39 -04:00
parent 466ada3d0e
commit 0bdaa03545

View file

@ -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;