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
{{ message }}
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.
When the Serializer is changed to accept a pre-generated Pickler of a concreted type through the constructor, the same problem is encountered. For example:
But if the Serializer is abstract and has an abstract implicit val pickler: AbstractPicklerUnpickler that the messageSerializer defined upon extending, to PicklerUnpickler.generate[Message], it works.
Is this an issue related to Scala Pickling, or a compiler bug?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following code:
Evaluates to:
When the
Serializer
is changed to accept a pre-generatedPickler
of a concreted type through the constructor, the same problem is encountered. For example:object messageSerializer extends Serializer[Message](PicklerUnpickler.generate[Message])
But if the
Serializer
is abstract and has an abstractimplicit val pickler: AbstractPicklerUnpickler
that themessageSerializer
defined upon extending, toPicklerUnpickler.generate[Message]
, it works.Is this an issue related to Scala Pickling, or a compiler bug?
The text was updated successfully, but these errors were encountered: