Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
+4
-4
@@ -1,6 +1,6 @@
|
||||
== Delegate ==
|
||||
class Delegate {
|
||||
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
}
|
||||
---------------------
|
||||
L0:
|
||||
@@ -12,8 +12,8 @@ error:
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
== get ==
|
||||
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
== getValue ==
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
---------------------
|
||||
L0:
|
||||
1 <START>
|
||||
@@ -62,4 +62,4 @@ error:
|
||||
<ERROR> PREV:[]
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
=====================
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class Delegate {
|
||||
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
}
|
||||
|
||||
val a = Delegate()
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
== Delegate ==
|
||||
class Delegate {
|
||||
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
}
|
||||
---------------------
|
||||
=====================
|
||||
== get ==
|
||||
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
== getValue ==
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
---------------------
|
||||
<v0>: {<: Nothing?} NEW: magic[FAKE_INITIALIZER](_this: Nothing?) -> <v0>
|
||||
<v1>: {<: PropertyMetadata} NEW: magic[FAKE_INITIALIZER](p: PropertyMetadata) -> <v1>
|
||||
|
||||
Reference in New Issue
Block a user