"field": backing field usage deprecated warning, relevant diagnostics tests changed
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ class WithCPI_Dup(<warning>x</warning> : Int) {
|
||||
|
||||
class WithCPI(x : Int) {
|
||||
val a = 1
|
||||
val b : Int = $a
|
||||
val b : Int = <warning descr="[BACKING_FIELD_USAGE_DEPRECATED] Backing field usage is deprecated here, soon it will be possible only in property accessors">$a</warning>
|
||||
val xy : Int = x
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user