Made this code consistent with the rest
This commit is contained in:
parent
63e4c2cf47
commit
a460bd1637
|
@ -698,9 +698,9 @@ ACSymbol*[] getSymbolsByTokenChain(T)(Scope* completionScope,
|
||||||
tokens.length - 1))
|
tokens.length - 1))
|
||||||
{
|
{
|
||||||
symbols = symbols[0].type is null ? [] : [symbols[0].type];
|
symbols = symbols[0].type is null ? [] : [symbols[0].type];
|
||||||
}
|
|
||||||
if (symbols.length == 0)
|
if (symbols.length == 0)
|
||||||
break loop;
|
break loop;
|
||||||
|
}
|
||||||
if (symbols[0].kind == CompletionKind.aliasName
|
if (symbols[0].kind == CompletionKind.aliasName
|
||||||
&& (completionType == CompletionType.identifiers
|
&& (completionType == CompletionType.identifiers
|
||||||
|| i + 1 < tokens.length))
|
|| i + 1 < tokens.length))
|
||||||
|
|
Loading…
Reference in New Issue