From 7cef940747a2b070f68242fadf6a5c988c322d32 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 10 Jul 2020 21:30:22 +0300 Subject: [PATCH] Make K(Mutable)Property2 type parameter names consistent with expect declaration --- runtime/src/main/kotlin/kotlin/reflect/KProperty.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt b/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt index 45ca52cbe82..021f454a6db 100644 --- a/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt +++ b/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt @@ -31,10 +31,10 @@ public actual interface KProperty1 : kotlin.reflect.KProperty, (T) public override operator fun invoke(p1: T): V } -public actual interface KProperty2 : kotlin.reflect.KProperty, (T1, T2) -> V { - public actual fun get(receiver1: T1, receiver2: T2): V +public actual interface KProperty2 : kotlin.reflect.KProperty, (D, E) -> V { + public actual fun get(receiver1: D, receiver2: E): V - public override operator fun invoke(p1: T1, p2: T2): V + public override operator fun invoke(p1: D, p2: E): V } /** @@ -50,6 +50,6 @@ public actual interface KMutableProperty1 : KProperty1, KMutableProp public actual fun set(receiver: T, value: V) } -public actual interface KMutableProperty2 : KProperty2, KMutableProperty { - public actual fun set(receiver1: T1, receiver2: T2, value: V) +public actual interface KMutableProperty2 : KProperty2, KMutableProperty { + public actual fun set(receiver1: D, receiver2: E, value: V) } \ No newline at end of file