mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed default case for discriminated union with empty payload member
This commit is contained in:
parent
e659a4e711
commit
38abaf6b3f
3 changed files with 2 additions and 12 deletions
|
@ -1357,11 +1357,6 @@ void BfCompiler::CreateVData(BfVDataModule* bfModule)
|
|||
if ((typeInst != NULL) && (!typeInst->IsReified()) && (!typeInst->IsUnspecializedType()))
|
||||
continue;
|
||||
|
||||
if (type->mTypeId == 0x0000045F)
|
||||
{
|
||||
NOP;
|
||||
}
|
||||
|
||||
bool needsTypeData = (needsTypeList) || ((type->IsObject()) && (needsObjectTypeData));
|
||||
bool needsVData = (type->IsObject()) && (typeInst->HasBeenInstantiated());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue