"field": backing field usage deprecated warning, relevant diagnostics tests changed
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@
|
||||
|
||||
class WithC() {
|
||||
val a = 1
|
||||
val b = $a // error here, but must not be
|
||||
val b = <warning descr="[BACKING_FIELD_USAGE_DEPRECATED] Backing field usage is deprecated here, soon it will be possible only in property accessors">$a</warning> // error here, but must not be
|
||||
}
|
||||
Reference in New Issue
Block a user