Files
kotlin-fork/idea/testData/intentions/introduceBackingProperty/backingFieldRef.kt
T
2015-09-25 18:25:37 +02:00

10 lines
150 B
Kotlin
Vendored

class Foo {
var <caret>x = ""
get() = $x + "!"
set(value) { $x = value + "!" }
fun foo(): String {
return $x
}
}