mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Improved handling of opaque types
This commit is contained in:
parent
f96e231d7b
commit
16371ab07c
3 changed files with 37 additions and 26 deletions
|
@ -2751,7 +2751,9 @@ bool BfTypeInstance::IsValuelessType()
|
|||
return false;
|
||||
}
|
||||
if (mTypeDef->mIsOpaque)
|
||||
return false;
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
BF_ASSERT((mDefineState >= BfTypeDefineState_Defined) || (mTypeFailed));
|
||||
BF_ASSERT(mInstSize >= 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue