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

21 lines
368 B
Plaintext
Vendored

// WITH_RUNTIME
class MyClass {
fun foo1() = Unit
fun foo2() = Unit
fun foo3() = Unit
fun foo4(a: MyClass) {
// top comment
val a = MyClass().apply {
// here is comment
foo1()
// comment
// bbb
foo2()
foo3()
}
// last comment won't be in
}
}