Merge pull request #27 from Frostman/completion-ext-fun-fq-name
#KT-1608 fixed
This commit is contained in:
@@ -68,6 +68,11 @@ public final class DescriptorLookupConverter {
|
||||
}
|
||||
}, ",") + ")";
|
||||
|
||||
boolean extensionFunction = functionDescriptor.getReceiverParameter().exists();
|
||||
DeclarationDescriptor containingDeclaration = descriptor.getContainingDeclaration();
|
||||
if (extensionFunction && containingDeclaration != null) {
|
||||
tailText += " defined in " + DescriptorUtils.getFQName(containingDeclaration);
|
||||
}
|
||||
|
||||
// TODO: A special case when it's impossible to resolve type parameters from arguments. Need '<' caret '>'
|
||||
// TODO: Support omitting brackets for one argument functions
|
||||
|
||||
Reference in New Issue
Block a user