Skip to content

Commit 8a84b29

Browse files
author
Michel Davit
committed
Fix 2.12 serialization issue
1 parent 42e7aef commit 8a84b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/src/test/scala/magnolify/test/ADT.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object ADT {
3333
case class Circle(r: Int) extends Shape
3434

3535
@ScalaAnnotation("Color")
36-
sealed trait Color
36+
sealed trait Color extends Serializable // Serializable needed for 2.12
3737
@ScalaAnnotation("PrimaryColor")
3838
sealed trait PrimaryColor extends Color
3939
case object Red extends PrimaryColor

0 commit comments

Comments
 (0)