mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed method extension parsing issue in static block
This commit is contained in:
parent
c46e86f416
commit
792d92d014
1 changed files with 3 additions and 3 deletions
|
@ -9095,10 +9095,10 @@ BfTokenNode* BfReducer::ParseMethodParams(BfAstNode* node, SizedArrayImpl<BfPara
|
|||
isFunction = true;
|
||||
else
|
||||
isDelegate = true;
|
||||
}
|
||||
else if (mCurTypeDecl->mTypeNode->GetToken() == BfToken_Function)
|
||||
}
|
||||
else if ((mCurTypeDecl->mTypeNode != NULL) && (mCurTypeDecl->mTypeNode->GetToken() == BfToken_Function))
|
||||
isFunction = true;
|
||||
else if (mCurTypeDecl->mTypeNode->GetToken() == BfToken_Delegate)
|
||||
else if ((mCurTypeDecl->mTypeNode != NULL) && (mCurTypeDecl->mTypeNode->GetToken() == BfToken_Delegate))
|
||||
isDelegate = true;
|
||||
|
||||
if (isFunction || isDelegate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue