mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Filter extension attributes based on constraint matching
This commit is contained in:
parent
f46f49f1db
commit
732af58138
1 changed files with 3 additions and 0 deletions
|
@ -4677,6 +4677,9 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
|
|||
if (partialTypeDef->mTypeDeclaration->mAttributes == NULL)
|
||||
continue;
|
||||
|
||||
if (!typeInstance->IsTypeMemberIncluded(partialTypeDef))
|
||||
continue;
|
||||
|
||||
typeState.mCurTypeDef = partialTypeDef;
|
||||
GetCustomAttributes(customAttributes, partialTypeDef->mTypeDeclaration->mAttributes, attrTarget);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue