mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed parsing for generic ctor 'this<X>() where X : int : base() '
This commit is contained in:
parent
1014824fd0
commit
6f5d3e0ca9
1 changed files with 1 additions and 1 deletions
|
@ -10932,7 +10932,7 @@ BfGenericConstraintsDeclaration* BfReducer::CreateGenericConstraintsDeclaration(
|
|||
bool handled = false;
|
||||
if (auto tokenNode = BfNodeDynCast<BfTokenNode>(nextNode))
|
||||
{
|
||||
if (tokenNode->mToken == BfToken_FatArrow)
|
||||
if ((tokenNode->mToken == BfToken_FatArrow) || (tokenNode->mToken == BfToken_Colon))
|
||||
{
|
||||
isDone = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue