This repository was archived by the owner on Feb 20, 2019. It is now read-only.
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
Pickler.generate for type constructors (such as Pickler.generate[Either[L,R]]) #319
Closed
Description
I'm on scala-pickling_2.11-0.10.0
, and have done the following:
import scala.pickling._
import binary._
// ...
val pickler = Pickler.generate[Either[Int,String]]
I get an error: error: Cannot generate a pickler for Either[Int,String]. Recompile with -Xlog-implicits for details
. (I'm using Scala IDE and Gradle to build my project, and for some reason I have been unable to get -Xlog-implicits
to actually work in either.)
Any thoughts?