mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
More extern constraints work
This commit is contained in:
parent
d35ef0e1e8
commit
35505d905a
7 changed files with 34 additions and 10 deletions
|
@ -12788,9 +12788,11 @@ bool BfModule::InDefinitionSection()
|
|||
|
||||
bool BfModule::IsInSpecializedGeneric()
|
||||
{
|
||||
if (mCurTypeInstance->IsSpecializedType())
|
||||
return true;
|
||||
if ((mCurMethodInstance == NULL) || (mCurMethodInstance->mIsUnspecialized))
|
||||
return false;
|
||||
return (mCurMethodInstance->GetNumGenericArguments() != 0) || (mCurTypeInstance->IsGenericTypeInstance());
|
||||
return (mCurMethodInstance->GetNumGenericArguments() != 0);
|
||||
}
|
||||
|
||||
bool BfModule::IsInSpecializedSection()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue