diff --git a/test/src/test/scala/magnolify/test/ADT.scala b/test/src/test/scala/magnolify/test/ADT.scala index 3de88f33..053835bb 100644 --- a/test/src/test/scala/magnolify/test/ADT.scala +++ b/test/src/test/scala/magnolify/test/ADT.scala @@ -33,7 +33,7 @@ object ADT { case class Circle(r: Int) extends Shape @ScalaAnnotation("Color") - sealed trait Color + sealed trait Color extends Serializable // Serializable needed for 2.12 @ScalaAnnotation("PrimaryColor") sealed trait PrimaryColor extends Color case object Red extends PrimaryColor