Open amnaredo opened 3 years ago
This also appears to impact upickle:
scala> case class B(x: List[String])(y: Int)
defined class B
scala> upickle.default.write(B(List.fill(10)("long string"))(0))
<console>:13: error: type mismatch;
found : Option[List[String]]
required: Option[(List[String], Int)]
Error occurred in an application involving default arguments.
upickle.default.write(B(List.fill(10)("long string"))(0))
Original Author: Voltir
From what I can tell, it’s fixed somewhere in 0.5.0. At least ammonite 0.9.0 no longer has this problem. Original Author: stanch
ID: 148 Original Author: stanch