Old backing field with dollar is now forbidden
This commit is contained in:
@@ -130,13 +130,4 @@ fun testObject() : Trait {
|
||||
return o
|
||||
}
|
||||
|
||||
fun testBackingFieldsNotMarked() {
|
||||
val <!UNUSED_VARIABLE!>a<!> = object {
|
||||
val x : Int
|
||||
init {
|
||||
<!BACKING_FIELD_USAGE_DEPRECATED!>$x<!> = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun doSmth(<!UNUSED_PARAMETER!>i<!> : Int) {}
|
||||
|
||||
Reference in New Issue
Block a user