mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
PopulateType issue fixed
This commit is contained in:
parent
b0fbc87d31
commit
2320e2eb8c
1 changed files with 1 additions and 0 deletions
|
@ -10342,6 +10342,7 @@ BfTypedValue BfModule::LoadValue(BfTypedValue typedValue, BfAstNode* refNode, bo
|
||||||
if (!typedValue.IsAddr())
|
if (!typedValue.IsAddr())
|
||||||
return typedValue;
|
return typedValue;
|
||||||
|
|
||||||
|
PopulateType(typedValue.mType);
|
||||||
if ((typedValue.mType->IsValuelessType()) || (typedValue.mType->IsVar()))
|
if ((typedValue.mType->IsValuelessType()) || (typedValue.mType->IsVar()))
|
||||||
return BfTypedValue(mBfIRBuilder->GetFakeVal(), typedValue.mType, false);
|
return BfTypedValue(mBfIRBuilder->GetFakeVal(), typedValue.mType, false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue