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

10 lines
158 B
Plaintext

// AFTER-WARNING: Variable 'foo' is never used
fun test() {
// comment 3
bar()
// comment 1
val foo: String = "" // comment 2
}
fun bar() {}