Update compiler tests to use KProperty instead of PropertyMetadata
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
== Delegate ==
|
||||
class Delegate {
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
fun getValue(_this: Nothing?, p: KProperty<*>): Int = 0
|
||||
}
|
||||
---------------------
|
||||
=====================
|
||||
== getValue ==
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
fun getValue(_this: Nothing?, p: KProperty<*>): Int = 0
|
||||
---------------------
|
||||
<v0>: {<: Nothing?} NEW: magic[FAKE_INITIALIZER](_this: Nothing?) -> <v0>
|
||||
<v1>: {<: PropertyMetadata} NEW: magic[FAKE_INITIALIZER](p: PropertyMetadata) -> <v1>
|
||||
0 <v2>: Int NEW: r(0) -> <v2>
|
||||
<v0>: {<: Nothing?} NEW: magic[FAKE_INITIALIZER](_this: Nothing?) -> <v0>
|
||||
<v1>: {<: KProperty<*>} NEW: magic[FAKE_INITIALIZER](p: KProperty<*>) -> <v1>
|
||||
0 <v2>: Int NEW: r(0) -> <v2>
|
||||
=====================
|
||||
== a ==
|
||||
val a = Delegate()
|
||||
|
||||
Reference in New Issue
Block a user