"field": deprecated warnings introduced, compiler tests migrated to the new syntax
This commit is contained in:
committed by
Mikhail Glukhikh
parent
028e0ec59a
commit
a1e3471d92
@@ -100,10 +100,10 @@ class Logo(override var pos: Vector) : Shape() {
|
||||
|
||||
val gradientGenerator: RadialGradientGenerator? = null
|
||||
get() {
|
||||
if ($gradientGenerator == null) {
|
||||
$gradientGenerator = RadialGradientGenerator(context)
|
||||
if (field == null) {
|
||||
field = RadialGradientGenerator(context)
|
||||
}
|
||||
return $gradientGenerator
|
||||
return field
|
||||
}
|
||||
|
||||
class Creature(override var pos: Vector, val state: CanvasState) : Shape() {
|
||||
|
||||
Reference in New Issue
Block a user