1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed failed method param parsing

This commit is contained in:
Brian Fiete 2022-07-28 07:18:38 -04:00
parent e247e3ecb4
commit dbf360e243

View file

@ -9399,6 +9399,7 @@ BfTokenNode* BfReducer::ParseMethodParams(BfAstNode* node, SizedArrayImpl<BfPara
if (initExpr == NULL)
return NULL;
MEMBER_SET(paramDecl, mInitializer, initExpr);
node->mSrcEnd = paramDecl->mSrcEnd;
auto nextNode = mVisitorPos.GetNext();
tokenNode = BfNodeDynCast<BfTokenNode>(nextNode);
if (tokenNode == NULL)