If value
in value class
is nullable
and the argument definition is non-null
, deserialization fails by NoSuchMethodException
when using default arguments.
#51
Labels
value class
About value class support
The problem occurs when deserializing the following
D
with 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
The text was updated successfully, but these errors were encountered: