mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12: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)
|
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;
|
checkMethodState = checkMethodState->mPrevMethodState;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9863,7 +9863,7 @@ StringT<128> BfModule::MethodToString(BfMethodInstance* methodInst, BfMethodName
|
||||||
|
|
||||||
if ((methodNameFlags & BfMethodNameFlag_OmitTypeName) == 0)
|
if ((methodNameFlags & BfMethodNameFlag_OmitTypeName) == 0)
|
||||||
{
|
{
|
||||||
methodName = TypeToString(type, typeNameFlags);
|
methodName += TypeToString(type, typeNameFlags);
|
||||||
if (methodName == "$")
|
if (methodName == "$")
|
||||||
methodName = "";
|
methodName = "";
|
||||||
else if (!methodName.IsEmpty())
|
else if (!methodName.IsEmpty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue