mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Autocomplete method name fix
This commit is contained in:
parent
3fb7576bf9
commit
e8b35ce0c4
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -9863,7 +9863,7 @@ StringT<128> BfModule::MethodToString(BfMethodInstance* methodInst, BfMethodName
|
|||
|
||||
if ((methodNameFlags & BfMethodNameFlag_OmitTypeName) == 0)
|
||||
{
|
||||
methodName = TypeToString(type, typeNameFlags);
|
||||
methodName += TypeToString(type, typeNameFlags);
|
||||
if (methodName == "$")
|
||||
methodName = "";
|
||||
else if (!methodName.IsEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue