jackson-module-kogera
jackson-module-kogera copied to clipboard
Cannot parse by `Kogera` if `value class` is specified for the return value of the generic default implementation
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