Fix #346
This commit is contained in:
parent
75544fda71
commit
c3df266744
|
@ -867,6 +867,9 @@ DSymbol*[] getSymbolsByTokenChain(T)(Scope* completionScope,
|
||||||
//trace(symbols[0].qualifier, " ", symbols[0].kind);
|
//trace(symbols[0].qualifier, " ", symbols[0].kind);
|
||||||
filterProperties();
|
filterProperties();
|
||||||
|
|
||||||
|
if (symbols.length == 0)
|
||||||
|
break loop;
|
||||||
|
|
||||||
// Use type instead of the symbol itself for certain symbol kinds
|
// Use type instead of the symbol itself for certain symbol kinds
|
||||||
while (symbols[0].qualifier == SymbolQualifier.func
|
while (symbols[0].qualifier == SymbolQualifier.func
|
||||||
|| symbols[0].kind == CompletionKind.functionName
|
|| symbols[0].kind == CompletionKind.functionName
|
||||||
|
|
Loading…
Reference in New Issue