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