diff --git a/idea/src/org/jetbrains/jet/plugin/completion/LookupElementFactory.kt b/idea/src/org/jetbrains/jet/plugin/completion/LookupElementFactory.kt index f0e00710424..943a0bf0e4b 100644 --- a/idea/src/org/jetbrains/jet/plugin/completion/LookupElementFactory.kt +++ b/idea/src/org/jetbrains/jet/plugin/completion/LookupElementFactory.kt @@ -83,7 +83,7 @@ public open class LookupElementFactory protected() { is ClassDescriptor -> { val typeParams = descriptor.getTypeConstructor().getParameters() if (typeParams.isNotEmpty()) { - element = element.appendTailText("<" + typeParams.map { it.getName().asString() }.joinToString(", ") + ">", true) + element = element.appendTailText(typeParams.map { it.getName().asString() }.joinToString(", ", "<", ">"), true) } element = element.appendTailText(" (" + DescriptorUtils.getFqName(descriptor.getContainingDeclaration()) + ")", true)