ReplaceToWithInfixFormInspection: don't report when call expression has type typeArguments

#KT-36508 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-27 10:47:05 +09:00
committed by Yan Zhulanow
parent f7a69d4aa7
commit 8d3e41ae60
3 changed files with 16 additions and 1 deletions
@@ -0,0 +1,9 @@
// PROBLEM: none
// WITH_RUNTIME
class Receiver(val x: Int = 0)
class Argument(val y: Int = 1)
val test = <caret>"".to<String, Receiver.(Argument) -> Unit> {
println(x)
println(it.y)
}