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
@@ -3,7 +3,7 @@ package h
class Square() {
var size : Double =
<!UNRESOLVED_REFERENCE!>set<!>(<!UNRESOLVED_REFERENCE!>value<!>) {
<!BACKING_FIELD_USAGE_DEPRECATED!>$area<!> = size * size
<!BACKING_FIELD_USAGE_FORBIDDEN!>$area<!> = size * size
}
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>var area : Double<!>