Files
Vladislav.Koshkin bb358bc5a8 [kotlin] JoinDeclarationAndAssignmentInspection in k2
^KTIJ-21115 Fixed

GitOrigin-RevId: 89614afe5b87b7e01810e45a71dc11bd4ccedd5c
2023-11-28 12:23:49 +00:00

14 lines
237 B
Kotlin

// AFTER-WARNING: Variable 'foo' is never used
fun test() {
// comment 1
// comment 2
<caret>val foo: String // comment 3
// comment 4
bar()
// comment 5
// comment 6
foo = "" // comment 7
}
fun bar() {}