Made this code consistent with the rest

This commit is contained in:
Hackerpilot 2015-01-14 15:44:29 -08:00
parent 63e4c2cf47
commit a460bd1637
1 changed files with 2 additions and 2 deletions

View File

@ -698,9 +698,9 @@ ACSymbol*[] getSymbolsByTokenChain(T)(Scope* completionScope,
tokens.length - 1))
{
symbols = symbols[0].type is null ? [] : [symbols[0].type];
if (symbols.length == 0)
break loop;
}
if (symbols.length == 0)
break loop;
if (symbols[0].kind == CompletionKind.aliasName
&& (completionType == CompletionType.identifiers
|| i + 1 < tokens.length))