Skip to content

Commit a68066c

Browse files
committed
Fix ShowPretty tests
Define companion object as scala/scala3#15391 isn't released yet
1 parent 522083f commit a68066c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/test/scala-3/cats/derived/adtdefns.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ object TestDefns:
217217
final case class IntLeaf(t: Int) extends IntTree
218218
final case class IntNode(l: IntTree, r: IntTree) extends IntTree
219219

220+
object IntTree {}
221+
220222
sealed trait GenericAdt[A]
221223
final case class GenericAdtCase[A](value: Option[A]) extends GenericAdt[A]
222224

0 commit comments

Comments
 (0)