Files
kotlin-fork/idea/testData/intentions/convertToScope/convertToApply/binaryExpression2.kt.after
T
2019-03-18 11:18:23 +03:00

13 lines
163 B
Plaintext
Vendored

// WITH_RUNTIME
class A {
fun foo() {}
}
fun baz(a: A): Int = 1
fun test() {
val a = A().apply {
foo()
1 + baz(this)
foo()
}
}