"field": deprecated warnings introduced, compiler tests migrated to the new syntax
This commit is contained in:
committed by
Mikhail Glukhikh
parent
028e0ec59a
commit
a1e3471d92
+2
-2
@@ -12,7 +12,7 @@ class Test {
|
||||
|
||||
public val prop3: Int = 12
|
||||
get() {
|
||||
return $prop3
|
||||
return field
|
||||
}
|
||||
|
||||
var prop4 : Int = 13
|
||||
@@ -25,7 +25,7 @@ class Test {
|
||||
|
||||
public var prop7 : Int = 20
|
||||
set(i: Int) {
|
||||
$prop7++
|
||||
field++
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user