Fix bug when stream chain lose terminator call arguments
This commit is contained in:
committed by
Yan Zhulanow
parent
4cb8cc3653
commit
bc7d30bd99
+2
-1
@@ -38,7 +38,8 @@ class KotlinChainTransformerImpl : ChainTransformer<KtCallExpression> {
|
||||
|
||||
val terminationsPsiCall = callChain.last()
|
||||
// TODO: infer true types
|
||||
val terminationCall = TerminatorStreamCallImpl(terminationsPsiCall.callName(), emptyList(),
|
||||
val terminationCall = TerminatorStreamCallImpl(terminationsPsiCall.callName(),
|
||||
terminationsPsiCall.valueArguments.map { it.toCallArgument() },
|
||||
KotlinTypes.ANY, KotlinTypes.ANY,
|
||||
terminationsPsiCall.textRange)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user