"field": backing field usage deprecated warning, relevant diagnostics tests changed

This commit is contained in:
Mikhail Glukhikh
2015-09-18 16:13:05 +03:00
parent a1e3471d92
commit c24156ae84
20 changed files with 55 additions and 52 deletions
@@ -3,7 +3,7 @@ package h
class Square() {
var size : Double =
<!UNRESOLVED_REFERENCE!>set<!>(<!UNRESOLVED_REFERENCE!>value<!>) {
$area = size * size
<!BACKING_FIELD_USAGE_DEPRECATED!>$area<!> = size * size
}
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>var area : Double<!>