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

13 lines
159 B
Plaintext
Vendored

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