Philipp Haller
Philipp Haller
This is to make sure the spore can be pickled, and any issues are reported at compile time. This also requires taking an implicit pickler for that nullary spore.
Development branch: https://github.com/phaller/pickling/tree/topic/js
Example: ``` scala import scala.pickling._ import scala.pickling.Defaults._ import scala.pickling.json._ import scala.pickling.static._ import scala.collection.LinearSeq sealed trait C case class D(x: Int, y: String) { var l: LinearSeq[C] = LinearSeq(E) object E...
The following example fails to compile: ``` scala import scala.pickling._ import scala.pickling.Defaults._ case class Item(s: String) class SimpleMacroTest { def m(): Unit = { val fun = SimpleMacro.expandFun { ()...