"field": deprecated warnings introduced, compiler tests migrated to the new syntax

This commit is contained in:
Mikhail Glukhikh
2015-09-17 18:58:30 +03:00
committed by Mikhail Glukhikh
parent 028e0ec59a
commit a1e3471d92
64 changed files with 154 additions and 149 deletions
+4 -4
View File
@@ -1,19 +1,19 @@
public var inc: Int = 0;
public var propInc: Int = 0
get() {++inc; return $propInc}
get() {++inc; return field}
set(a: Int) {
++inc
$propInc = a
field = a
}
public var dec: Int = 0;
public var propDec: Int = 0;
get() { --dec; return $propDec}
get() { --dec; return field}
set(a: Int) {
--dec
$propDec = a
field = a
}
fun box(): String {