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

16 lines
264 B
Plaintext
Vendored

// WITH_RUNTIME
class MyClass {
fun foo1() = Unit
fun foo2(a: MyClass) = Unit
fun foo3() = Unit
fun foo4(a: MyClass) {
val a = MyClass().apply {
foo1()
foo3()
}
a.foo2(this)
a.foo3()
}
}