Old backing field with dollar is now forbidden

This commit is contained in:
Mikhail Glukhikh
2015-10-08 19:51:02 +03:00
parent 5117f744f7
commit 6914d09297
77 changed files with 88 additions and 637 deletions
@@ -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) {}