mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Added auto-constructors (ie: 'struct Vec : this(float x, float y);')
This commit is contained in:
parent
ae0f3c5ebb
commit
9d1a5d9f3d
7 changed files with 155 additions and 9 deletions
|
@ -2758,6 +2758,7 @@ void BfPrinter::Visit(BfTypeDeclaration* typeDeclaration)
|
|||
ExpectSpace();
|
||||
QueueVisitChild(typeDeclaration->mNameNode);
|
||||
QueueVisitChild(typeDeclaration->mGenericParams);
|
||||
QueueVisitChild(typeDeclaration->mAutoCtor);
|
||||
if (typeDeclaration->mColonToken != NULL)
|
||||
{
|
||||
ExpectSpace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue