diff options
Diffstat (limited to 'tests/shared')
-rw-r--r-- | tests/shared/src/main/scala/magnolia/main.scala | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/shared/src/main/scala/magnolia/main.scala b/tests/shared/src/main/scala/magnolia/main.scala index aaa8ec9..d01d37a 100644 --- a/tests/shared/src/main/scala/magnolia/main.scala +++ b/tests/shared/src/main/scala/magnolia/main.scala @@ -3,17 +3,15 @@ package magnolia sealed trait Bar case class Foo(one: String) extends Bar -case class Quux(two: Double, three: List[Bar]) extends Bar -case class Bippy(four: String) +case class Quux(two: String, three: Double, four: List[Bar]) extends Bar +case class Bippy(five: String, six: List[Quux]) extends Bar class Baz(val x: Bar) extends AnyVal object Main { + def main(args: Array[String]): Unit = { println(implicitly[Extractor[Bar]].extract(Thing("42"))) - - - } } |