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

16 lines
235 B
Plaintext
Vendored

// WITH_RUNTIME
class MyClass {
fun foo1() = Unit
fun foo2() = Unit
fun foo3() = Unit
fun foo4() {
val a = MyClass()
with(a) {
foo1()
foo2()
foo3()
}
}
}