"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
@@ -5,7 +5,7 @@ import java.util.HashSet
|
||||
val a: MutableSet<String>? = null
|
||||
get() {
|
||||
if (a == null) {
|
||||
$a = HashSet()
|
||||
field = HashSet()
|
||||
}
|
||||
return a
|
||||
}
|
||||
@@ -14,7 +14,7 @@ class R {
|
||||
val b: String? = null
|
||||
get() {
|
||||
if (b == null) {
|
||||
$b = "b"
|
||||
field = "b"
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user