mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed AreConstraintsSubset with null constraints
This commit is contained in:
parent
918a28bfb7
commit
209f11836e
1 changed files with 2 additions and 2 deletions
|
@ -380,9 +380,9 @@ bool BfModule::ValidateGenericConstraints(BfTypeReference* typeRef, BfTypeInstan
|
|||
bool BfModule::AreConstraintsSubset(BfGenericParamInstance* checkInner, BfGenericParamInstance* checkOuter)
|
||||
{
|
||||
if (checkOuter == NULL)
|
||||
return true;
|
||||
if (checkInner == NULL)
|
||||
return false;
|
||||
if (checkInner == NULL)
|
||||
return true;
|
||||
|
||||
// Added new flags?
|
||||
if ((checkInner->mGenericParamFlags | checkOuter->mGenericParamFlags) != checkOuter->mGenericParamFlags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue