Files
Toshiaki Kameyama 2b21f03d04 [kotlin] "Join declaration and assignment": correctly move comments to property declaration
^KTIJ-26690 Fixed

GitOrigin-RevId: 87bb5572a3cb0918f73afbe00be10c411f2dd829
2023-08-22 12:28:07 +00:00

12 lines
132 B
Plaintext

class A {
// comment 1
val prop: Int = 42 // comment 2
init {
// comment 3
foo()
}
}
fun foo() {}