Luca Kellermann
Luca Kellermann
I'd be happy to implement this if it's accepted.
I stumbled accross the situation where a primitive descriptor is nullable: this won't be copied over to the wrapped serializer by the code shown above. So it isn't as easy...
Sounds reasonable to me 👍 PR welcome :)
I just noticed that this won't be that easy. Right now, Kotlin forces all direct inheritors of a sealed type to be [in the same package as the sealed type](https://kotlinlang.org/docs/sealed-classes.html#inheritance)....
I think we should be careful this doesn't conflict with #798.
Is there an issue already for the problems with mockk?
> I've got wrong. This problem isn't related to inline classes, but to unsigned numbers. [mockk/mockk#544](https://github.com/mockk/mockk/issues/544) the issue you pointed to is now closed, is there any update on this?
I'd like to discuss this some more before deciding what to do with this, see https://discord.com/channels/556525343595298817/1245773750486438060
i've updated the target branch btw
these changes can be tested using `experiments-inline-value-classes-SNAPSHOT`