It can be reproduced by defining bar as follows
@JvmInline
value class VC(val value: Int)
interface I<T> {
val foo: T
val bar: T get() = foo
}
class Impl(override val foo: VC) : I<VC>
The cause is that the Kotlin property fails to tie to the unboxed getter generated in such cases.
Details are reported in the following ticket.
https://youtrack.jetbrains.com/issue/KT-60975
It can be reproduced by defining
baras followsThe cause is that the
Kotlinproperty fails to tie to the unboxed getter generated in such cases.Details are reported in the following ticket.
https://youtrack.jetbrains.com/issue/KT-60975