Skip to content

Commit

Permalink
Made this code consistent with the rest
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackerpilot committed Jan 14, 2015
1 parent 63e4c2c commit a460bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autocomplete.d
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a460bd1

Please sign in to comment.