The problem occurs when deserializing the following D with default arguments.
@JvmInline
value class NullableObject(val v: String?)
data class D(val v: NullableObject = NullableObject(""))
The cause is that the arguments of the default function generated in such cases are different from those of the normal default function.
What actually happens is described below.
https://youtrack.jetbrains.com/issue/KTIJ-24354
The problem occurs when deserializing the following
Dwith default arguments.The cause is that the arguments of the default function generated in such cases are different from those of the normal default function.
What actually happens is described below.
https://youtrack.jetbrains.com/issue/KTIJ-24354