Minor: fix compatible issue
This commit is contained in:
committed by
Yan Zhulanow
parent
2c57853dbe
commit
ea3206bba4
+2
-4
@@ -49,16 +49,14 @@ class KotlinChainTransformerImpl : ChainTransformer<KtCallExpression> {
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user