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

Fixed mBaseClassCommas printing

This commit is contained in:
Brian Fiete 2024-01-24 06:16:42 -05:00
parent 7f0fb7e737
commit f7dbe88169

View file

@ -3035,10 +3035,11 @@ void BfPrinter::Visit(BfTypeDeclaration* typeDeclaration)
ExpectSpace();
QueueVisitChild(typeDeclaration->mBaseClasses[i]);
if (nextCommaIdx >= 0)
{
QueueVisitChild(typeDeclaration->mBaseClassCommas.GetSafe(nextCommaIdx));
}
nextCommaIdx++;
}
if (nextCommaIdx >= 0)
QueueVisitChild(typeDeclaration->mBaseClassCommas.GetSafe(nextCommaIdx));
ExpectSpace();
}
QueueVisitChild(typeDeclaration->mGenericConstraintsDeclaration);