This commit is contained in:
Hackerpilot 2016-09-06 15:29:49 -07:00
parent 75544fda71
commit c3df266744
1 changed files with 3 additions and 0 deletions

View File

@ -867,6 +867,9 @@ DSymbol*[] getSymbolsByTokenChain(T)(Scope* completionScope,
//trace(symbols[0].qualifier, " ", symbols[0].kind);
filterProperties();
if (symbols.length == 0)
break loop;
// Use type instead of the symbol itself for certain symbol kinds
while (symbols[0].qualifier == SymbolQualifier.func
|| symbols[0].kind == CompletionKind.functionName