KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
#KT-1810 fixed
This commit is contained in:
@@ -67,7 +67,7 @@ public final class DescriptorLookupConverter {
|
||||
boolean extensionFunction = functionDescriptor.getReceiverParameter().exists();
|
||||
DeclarationDescriptor containingDeclaration = descriptor.getContainingDeclaration();
|
||||
if (extensionFunction && containingDeclaration != null) {
|
||||
tailText += " defined in " + DescriptorUtils.getFQName(containingDeclaration);
|
||||
tailText += " in " + DescriptorUtils.getFQName(containingDeclaration);
|
||||
}
|
||||
|
||||
// TODO: A special case when it's impossible to resolve type parameters from arguments. Need '<' caret '>'
|
||||
|
||||
@@ -9,6 +9,6 @@ fun firstFun() {
|
||||
|
||||
// RUNTIME: 1
|
||||
// TIME: 1
|
||||
// EXIST: toLinkedList~() defined in kotlin
|
||||
// EXIST: toLinkedList~() defined in kotlin.nullable
|
||||
// EXIST: toLinkedList~() in kotlin
|
||||
// EXIST: toLinkedList~() in kotlin.nullable
|
||||
// NUMBER: 2
|
||||
Reference in New Issue
Block a user