This commit is contained in:
Hackerpilot 2014-01-30 15:33:19 -08:00
parent a2e1aaf2e5
commit 85a6e48180
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ bool shouldSwapWithType(CompletionType completionType, CompletionKind kind,
if (kind == CompletionKind.moduleName || kind == CompletionKind.packageName)
return false;
// Swap out every part of a chain with its type except the last part
if (current < max && completionType == CompletionType.location)
if (current < max)
return true;
// Only swap out types for these kinds
immutable bool isInteresting =