Old backing field with dollar is now forbidden
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
class Foo {
|
||||
var <caret>x = ""
|
||||
get() = $x + "!"
|
||||
set(value) { $x = value + "!" }
|
||||
|
||||
fun foo(): String {
|
||||
return $x
|
||||
}
|
||||
get() = field + "!"
|
||||
set(value) { field = value + "!" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user