mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-05 15:56:00 +02:00
PopulateType on base type fix for SplatArgs
This commit is contained in:
parent
3269743c29
commit
515ac4c590
1 changed files with 4 additions and 0 deletions
|
@ -7111,6 +7111,10 @@ void BfExprEvaluator::SplatArgs(BfTypedValue value, SizedArrayImpl<BfIRValue>& i
|
|||
if (checkType->IsStruct())
|
||||
{
|
||||
auto checkTypeInstance = checkType->ToTypeInstance();
|
||||
|
||||
if (checkTypeInstance->mBaseType != NULL)
|
||||
mModule->PopulateType(checkTypeInstance->mBaseType);
|
||||
|
||||
if ((checkTypeInstance->mBaseType != NULL) && (!checkTypeInstance->mBaseType->IsValuelessType()))
|
||||
{
|
||||
BfTypedValue baseValue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue