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