mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed failed const constraint parsing
This commit is contained in:
parent
365701fe2f
commit
f49a9ef74f
1 changed files with 1 additions and 0 deletions
|
@ -9368,6 +9368,7 @@ BfGenericConstraintsDeclaration* BfReducer::CreateGenericConstraintsDeclaration(
|
|||
else if (constraintToken->GetToken() == BfToken_Const)
|
||||
{
|
||||
constraintTypes.push_back(constraintNode);
|
||||
genericConstraint->mSrcEnd = constraintNode->mSrcEnd;
|
||||
|
||||
auto typeRef = CreateTypeRefAfter(nextNode);
|
||||
if (typeRef == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue