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

Inline anonymous type declarations

This commit is contained in:
Brian Fiete 2025-01-02 11:42:33 -08:00
parent f609062c2a
commit 958fc30310
20 changed files with 600 additions and 48 deletions

View file

@ -325,6 +325,13 @@ void BfElementVisitor::Visit(BfTypeReference* typeRef)
Visit(typeRef->ToBase());
}
void BfElementVisitor::Visit(BfInlineTypeReference* typeRef)
{
Visit(typeRef->ToBase());
VisitChild(typeRef->mTypeDeclaration);
}
void BfElementVisitor::Visit(BfNamedTypeReference* typeRef)
{
Visit(typeRef->ToBase());