From 43614a1dfe8e790d769ce81605560960d95a4754 Mon Sep 17 00:00:00 2001 From: "Vitaliy.Bibaev" Date: Wed, 20 Dec 2017 18:08:07 +0300 Subject: [PATCH] Fix bug when generics are erased in trace expression --- .../streams/kotlin/psi/sequence/SequenceTypeExtractor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/sequence/SequenceTypeExtractor.kt b/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/sequence/SequenceTypeExtractor.kt index 718aceeeba6..55a8292c533 100644 --- a/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/sequence/SequenceTypeExtractor.kt +++ b/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/sequence/SequenceTypeExtractor.kt @@ -28,7 +28,7 @@ class SequenceTypeExtractor : CallTypeExtractor.Base() { val typeName = KotlinPsiUtil.getTypeWithoutTypeParameters(type) return KotlinTypes.primitiveTypeByName(typeName) ?: KotlinTypes.primitiveArrayByName(typeName) - ?: ClassTypeImpl(typeName) + ?: ClassTypeImpl(KotlinPsiUtil.getTypeName(type)) } private fun tryToFindElementType(type: KotlinType): GenericType? {