We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e7aef commit 8a84b29Copy full SHA for 8a84b29
test/src/test/scala/magnolify/test/ADT.scala
@@ -33,7 +33,7 @@ object ADT {
33
case class Circle(r: Int) extends Shape
34
35
@ScalaAnnotation("Color")
36
- sealed trait Color
+ sealed trait Color extends Serializable // Serializable needed for 2.12
37
@ScalaAnnotation("PrimaryColor")
38
sealed trait PrimaryColor extends Color
39
case object Red extends PrimaryColor
0 commit comments