From f49a9ef74f65b1598b3a807c343634e0d3a2e0a8 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 25 Jun 2020 05:27:26 -0700 Subject: [PATCH] Fixed failed const constraint parsing --- IDEHelper/Compiler/BfReducer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/IDEHelper/Compiler/BfReducer.cpp b/IDEHelper/Compiler/BfReducer.cpp index b062a192..a82f7fd0 100644 --- a/IDEHelper/Compiler/BfReducer.cpp +++ b/IDEHelper/Compiler/BfReducer.cpp @@ -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)