mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Expression-bodied ctor printing fix
This commit is contained in:
parent
4b59c1463c
commit
88cc8eac96
1 changed files with 7 additions and 1 deletions
|
@ -2501,8 +2501,14 @@ void BfPrinter::Visit(BfConstructorDeclaration* ctorDeclaration)
|
|||
ExpectSpace();
|
||||
QueueVisitChild(ctorDeclaration->mInitializer);
|
||||
|
||||
QueueVisitChild(ctorDeclaration->mFatArrowToken);
|
||||
if (ctorDeclaration->mFatArrowToken != NULL)
|
||||
{
|
||||
ExpectSpace();
|
||||
QueueVisitChild(ctorDeclaration->mFatArrowToken);
|
||||
ExpectSpace();
|
||||
}
|
||||
QueueVisitChild(ctorDeclaration->mBody);
|
||||
QueueVisitChild(ctorDeclaration->mEndSemicolon);
|
||||
|
||||
FlushVisitChild();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue