mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Inline anonymous type declarations
This commit is contained in:
parent
f609062c2a
commit
958fc30310
20 changed files with 600 additions and 48 deletions
|
@ -662,7 +662,7 @@ void BfSourceClassifier::Visit(BfTypeDeclaration* typeDeclaration)
|
|||
|
||||
SetAndRestoreValue<BfAstNode*> prevMember(mCurMember, typeDeclaration);
|
||||
|
||||
if (mSkipTypeDeclarations)
|
||||
if ((mSkipTypeDeclarations) && (!typeDeclaration->IsAnonymous()))
|
||||
{
|
||||
if (auto defineBlock = BfNodeDynCast<BfBlock>(typeDeclaration->mDefineNode))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue