mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed HandleCEAttributes with unspecialized variations
This commit is contained in:
parent
cb85c2b482
commit
e71cb928a6
1 changed files with 1 additions and 1 deletions
|
@ -2406,7 +2406,7 @@ void BfModule::HandleCEAttributes(CeEmitContext* ceEmitContext, BfTypeInstance*
|
|||
{
|
||||
for (auto& customAttribute : customAttributes->mAttributes)
|
||||
{
|
||||
if ((customAttribute.mDeclaringType->IsExtension()) && (typeInstance->IsGenericTypeInstance()))
|
||||
if ((customAttribute.mDeclaringType->IsExtension()) && (typeInstance->IsGenericTypeInstance()) && (!typeInstance->IsUnspecializedTypeVariation()))
|
||||
{
|
||||
if (!typeInstance->IsTypeMemberIncluded(customAttribute.mDeclaringType, typeInstance->mTypeDef, this))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue