1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Another autocomplete fix for failed invoke list

This commit is contained in:
Brian Fiete 2025-01-28 17:35:40 -08:00
parent 0e14e994d5
commit f7120e4c72
2 changed files with 3 additions and 3 deletions

View file

@ -8346,7 +8346,7 @@ void BfCompiler::GenerateAutocompleteInfo()
auto methodMatchInfo = autoComplete->mMethodMatchInfo;
if ((methodMatchInfo != NULL) && (wantsDocEntry == NULL))
{
if (methodMatchInfo->mInstanceList.size() > 0)
if ((methodMatchInfo->mInstanceList.size() > 0) && (methodMatchInfo->mBestIdx >= 0))
{
if (autoComplete->mIdentifierUsed != NULL)
{