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

Autocomplete method name fix

This commit is contained in:
Brian Fiete 2020-10-08 11:47:38 -07:00
parent 3fb7576bf9
commit e8b35ce0c4
2 changed files with 3 additions and 2 deletions

View file

@ -1523,7 +1523,8 @@ void BfAutoComplete::CheckIdentifier(BfAstNode* identifierNode, bool isInExpress
{
for (auto localMethod : checkMethodState->mLocalMethods)
{
AddMethod(mModule->mCurTypeInstance, localMethod->mMethodDef, localMethod->mMethodInstanceGroup->mDefault, localMethod->mMethodDeclaration, localMethod->mMethodName, filter);
if (localMethod->mMethodInstanceGroup != NULL)
AddMethod(mModule->mCurTypeInstance, localMethod->mMethodDef, localMethod->mMethodInstanceGroup->mDefault, localMethod->mMethodDeclaration, localMethod->mMethodName, filter);
}
checkMethodState = checkMethodState->mPrevMethodState;
}