Files
kotlin-fork/idea/testData/intentions/convertToScope/convertToAlso/untilItParameter.kt
T
2019-02-01 12:13:05 +03:00

15 lines
248 B
Kotlin
Vendored

// WITH_RUNTIME
class MyClass {
fun foo1() = Unit
fun foo2(a: MyClass) = Unit
fun foo3() = Unit
fun foo4(it: MyClass) {
val a = MyClass()
a.foo1()
a.foo3()<caret>
a.foo2(it)
a.foo3()
}
}