"introduce backing property" intention
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Foo {
|
||||
var <caret>x = ""
|
||||
get() = $x + "!"
|
||||
set(value) { $x = value + "!" }
|
||||
|
||||
fun foo(): String {
|
||||
return $x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user