Files
kotlin-fork/idea/testData/quickfix/migration/backingFieldSyntax/introduceBackingField.kt
T
2015-09-25 18:25:37 +02:00

12 lines
190 B
Kotlin
Vendored

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