mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed attributes on typed primitives
This commit is contained in:
parent
fdcfba8bad
commit
d55ecbe902
1 changed files with 1 additions and 1 deletions
|
@ -3497,7 +3497,7 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
|
|||
attrTarget = BfAttributeTargets_Enum;
|
||||
else if (typeInstance->IsInterface())
|
||||
attrTarget = BfAttributeTargets_Interface;
|
||||
else if (typeInstance->IsStruct())
|
||||
else if ((typeInstance->IsStruct()) || (typeInstance->IsTypedPrimitive()))
|
||||
attrTarget = BfAttributeTargets_Struct;
|
||||
else
|
||||
attrTarget = BfAttributeTargets_Class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue