1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

fix builtin attrib matching

This commit is contained in:
EinBurgbauer 2021-05-26 20:23:12 +02:00
parent 4d0f4b76bc
commit b58c0d4055
7 changed files with 38 additions and 7 deletions

View file

@ -11367,7 +11367,7 @@ void BfModule::GetCustomAttributes(BfCustomAttributes* customAttributes, BfAttri
{
if (prevCustomAttribute.mType == attrTypeInst)
{
Fail(StrFormat("Duplicate '%s' attribute", attributesDirective->mAttributeTypeRef->ToString().c_str()), attributesDirective->mAttributeTypeRef); // CS0579
Fail(StrFormat("Duplicate '%s' attribute", attributesDirective->mAttributeTypeRef->ToCleanAttributeString().c_str()), attributesDirective->mAttributeTypeRef); // CS0579
}
}
}