Replace get() and set() to getValue() and setValue() (property delegates)

This commit is contained in:
Yan Zhulanow
2015-10-05 20:18:58 +03:00
parent 2fee9d362c
commit 1f2b4e20fe
295 changed files with 718 additions and 511 deletions
@@ -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>