You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If value in value class is nullable and the argument definition is non-null, deserialization fails by NoSuchMethodException when using default arguments. #51
The problem occurs when deserializing the following D with default arguments.
@JvmInline
value classNullableObject(valv:String?)
data classD(valv: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