diff --git a/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt b/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt index 09392524051..45ca52cbe82 100644 --- a/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt +++ b/runtime/src/main/kotlin/kotlin/reflect/KProperty.kt @@ -14,42 +14,42 @@ import kotlin.native.internal.FixmeReflection * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html) * for more information. * - * @param R the type of the property. + * @param V the type of the property value. */ -public actual interface KProperty : KCallable +public actual interface KProperty : KCallable -public actual interface KProperty0 : kotlin.reflect.KProperty, () -> R { +public actual interface KProperty0 : kotlin.reflect.KProperty, () -> V { - public actual fun get(): R + public actual fun get(): V - public override abstract operator fun invoke(): R + public override abstract operator fun invoke(): V } -public actual interface KProperty1 : kotlin.reflect.KProperty, (T) -> R { - public actual fun get(receiver: T): R +public actual interface KProperty1 : kotlin.reflect.KProperty, (T) -> V { + public actual fun get(receiver: T): V - public override operator fun invoke(p1: T): R + public override operator fun invoke(p1: T): V } -public actual interface KProperty2 : kotlin.reflect.KProperty, (T1, T2) -> R { - public actual fun get(receiver1: T1, receiver2: T2): R +public actual interface KProperty2 : kotlin.reflect.KProperty, (T1, T2) -> V { + public actual fun get(receiver1: T1, receiver2: T2): V - public override operator fun invoke(p1: T1, p2: T2): R + public override operator fun invoke(p1: T1, p2: T2): V } /** * Represents a property declared as a `var`. */ -public actual interface KMutableProperty : KProperty +public actual interface KMutableProperty : KProperty -public actual interface KMutableProperty0 : KProperty0, KMutableProperty { - public actual fun set(value: R) +public actual interface KMutableProperty0 : KProperty0, KMutableProperty { + public actual fun set(value: V) } -public actual interface KMutableProperty1 : KProperty1, KMutableProperty { - public actual fun set(receiver: T, value: R) +public actual interface KMutableProperty1 : KProperty1, KMutableProperty { + public actual fun set(receiver: T, value: V) } -public actual interface KMutableProperty2 : KProperty2, KMutableProperty { - public actual fun set(receiver1: T1, receiver2: T2, value: R) +public actual interface KMutableProperty2 : KProperty2, KMutableProperty { + public actual fun set(receiver1: T1, receiver2: T2, value: V) } \ No newline at end of file