1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Tuple reflected name fix

This commit is contained in:
Brian Fiete 2024-09-11 15:27:56 -04:00
parent 4af432955e
commit 04e67007dd
2 changed files with 13 additions and 1 deletions

View file

@ -6899,6 +6899,12 @@ BfIRValue BfModule::CreateTypeData(BfType* type, BfCreateTypeDataContext& ctx, b
reflectIncludeAllMethods = true;
}
if (typeInstance->IsTuple())
{
// Required to generate tuple name at runtime
reflectIncludeAllFields = true;
}
BfReflectKind reflectKind = BfReflectKind_Type;
auto _GetReflectUserFromDirective = [&](BfAttributeDirective* attributesDirective, BfAttributeTargets attrTarget)