Files
kotlin/idea/testData/codeInsight/unwrapAndRemove/unwrapFunctionParameter/functionWithReceiver.kt
Toshiaki Kameyama c1f43558b9 Unwrap: function parameter (KT-14788)
#KT-14788 Fixed
2018-03-14 21:16:58 +03:00

13 lines
163 B
Kotlin
Vendored

// IS_APPLICABLE: false
fun test() {
val i = 1
val test = Test()
foo(test.qux<caret>(i))
}
fun foo(i: Int) {}
class Test {
fun qux(i: Int) = 1
}