jackson-module-kogera icon indicating copy to clipboard operation
jackson-module-kogera copied to clipboard

Cannot parse by `Kogera` if `value class` is specified for the return value of the generic default implementation

Open k163377 opened this issue 1 year ago • 0 comments

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

k163377 avatar Aug 11 '23 14:08 k163377