uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala
721
stars
165
forks
source link
Deriving ReadWriter for inner sealed trait hierarchy with default values crashes compiler #594
Open
uosis opened 4 months ago
Given this class:
Results in this compiler crash:
Any of the following changes fix the crash:
v
class A
toobject A
Possibly a Scala bug similar to this: https://github.com/scala/scala3/issues/11174