Fix #326
This commit is contained in:
parent
c490859ab1
commit
84092c36e7
|
|
@ -985,7 +985,8 @@ void setCompletions(T)(ref AutocompleteResponse response,
|
|||
|| symbols[0].kind == CompletionKind.importSymbol
|
||||
|| symbols[0].kind == CompletionKind.aliasName)
|
||||
{
|
||||
symbols = symbols[0].type is null ? [] : [symbols[0].type];
|
||||
symbols = symbols[0].type is null || symbols[0].type is symbols[0] ? []
|
||||
: [symbols[0].type];
|
||||
if (symbols.length == 0)
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue