Files
aleksandrina-streltsova e80a56e53b [kotlin] K2 Introduce Variable: use psi matcher to enable extraction of multiple occurrences
^KTIJ-27679 Fixed
^KTIJ-27681 Fixed
^KTIJ-27861 Fixed

GitOrigin-RevId: 5a33e3dba0f7f7d94997fdeaf6294db26ec20154
2024-02-18 22:13:56 +00:00

8 lines
145 B
Kotlin

// WITH_STDLIB
class Foo(var bar: Int)
fun test() {
val foo = Foo(1)
println(<selection>foo.bar</selection>)
foo.bar = foo.bar + 1
}