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
@@ -2,5 +2,5 @@
class WithC() {
val a = 1
val b = <!BACKING_FIELD_USAGE_DEPRECATED!>$a<!> // error here, but must not be
val b = a
}
+2 -2
View File
@@ -12,7 +12,7 @@ class Creature() {
var bbb : Int
init {
<!BACKING_FIELD_USAGE_DEPRECATED!>$bbb<!> = 1
bbb = 1
}
}
@@ -20,7 +20,7 @@ class Creature() {
var ccc : Int
init {
<!BACKING_FIELD_USAGE_DEPRECATED!>$ccc<!> = 2
ccc = 2
}
}