mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Added support for generic tuples
This commit is contained in:
parent
a186421ba8
commit
6fe9c78ada
13 changed files with 403 additions and 158 deletions
|
@ -2217,7 +2217,7 @@ void BfContext::GenerateModuleName_Type(BfType* type, String& name)
|
|||
|
||||
if (type->IsTuple())
|
||||
{
|
||||
auto tupleType = (BfTupleType*)type;
|
||||
auto tupleType = (BfTypeInstance*)type;
|
||||
name += "TUPLE_";
|
||||
for (int fieldIdx = 0; fieldIdx < (int)tupleType->mFieldInstances.size(); fieldIdx++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue