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:
parent
4af432955e
commit
04e67007dd
2 changed files with 13 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue