diff --git a/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/impl/KotlinChainTransformerImpl.kt b/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/impl/KotlinChainTransformerImpl.kt index 633d8bbc475..784aa54d892 100644 --- a/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/impl/KotlinChainTransformerImpl.kt +++ b/idea/idea-jvm/src/com/intellij/debugger/streams/kotlin/psi/impl/KotlinChainTransformerImpl.kt @@ -49,16 +49,14 @@ class KotlinChainTransformerImpl : ChainTransformer { intermediateCalls += IntermediateStreamCallImpl(call.callName(), call.valueArguments.map { it.toCallArgument() }, KotlinTypes.ANY, KotlinTypes.ANY, - call.textRange, - call.receiverType()!!.getPackage(false)) + call.textRange) } val terminationsPsiCall = callChain.last() // TODO: infer true types val terminationCall = TerminatorStreamCallImpl(terminationsPsiCall.callName(), emptyList(), KotlinTypes.ANY, KotlinTypes.ANY, - terminationsPsiCall.textRange, - terminationsPsiCall.receiverType()!!.getPackage(false)) + terminationsPsiCall.textRange) return StreamChainImpl(qualifier, intermediateCalls, terminationCall, context) }