It appears to me that recursive data types are not well-supported. The following code leads to an infinite loop in the typer phase of the Scala compiler:
import upickle._
sealed case class IntTree(value: Int, children: List[IntTree])
read[IntTree]("")
It appears to me that recursive data types are not well-supported. The following code leads to an infinite loop in the typer phase of the Scala compiler:
ID: 23 Original Author: tindzk