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
+1 -1
View File
@@ -28,7 +28,7 @@ class WithCPI_Dup(<warning>x</warning> : Int) {
class WithCPI(x : Int) {
val a = 1
val b : Int = <warning descr="[BACKING_FIELD_USAGE_DEPRECATED] Backing field usage is deprecated here, soon it will be possible only in property accessors">$a</warning>
val b : Int = <error>$a</error>
val xy : Int = x
}