Old backing field with dollar is now forbidden
This commit is contained in:
@@ -3,8 +3,4 @@ class Foo {
|
||||
var x: String
|
||||
get() = _x + "!"
|
||||
set(value) { _x = value + "!" }
|
||||
|
||||
fun foo(): String {
|
||||
return _x
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user