We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enum Event: case Increment case Decrement val eventPickler = summon[_root_.boopickle.Pickler[Event]]
at runtime, I get the following:
Cannot add same class (fennec.examples.CounterKernel$Event) twice to a composite pickler
looks like it's finding the type Event for both cases, which is how Scala 3 seems to treat enums wrt. type inference, so maybe it's natural.
Event
The text was updated successfully, but these errors were encountered:
It does indeed seem to work for the cases individually:
val incPickler = summon[Pickler[Event.Increment.type]] val decPickler = summon[Pickler[Event.Decrement.type]]
the above goes by without problems.
Sorry, something went wrong.
No branches or pull requests
at runtime, I get the following:
Cannot add same class (fennec.examples.CounterKernel$Event) twice to a composite pickler
looks like it's finding the type
Event
for both cases, which is how Scala 3 seems to treat enums wrt. type inference, so maybe it's natural.The text was updated successfully, but these errors were encountered: