From 0ccdf446c4c7770e60ede55ab712c8a551e36796 Mon Sep 17 00:00:00 2001 From: Rui Gonçalves Date: Wed, 21 Jun 2017 22:38:58 +0100 Subject: Reorganize magnolia.Show implicits Scopes magnolia.Show implicits so that they do not clash with cats' Show type class --- tests/shared/src/main/scala/magnolia/main.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/shared/src/main/scala/magnolia/main.scala b/tests/shared/src/main/scala/magnolia/main.scala index 014ec33..88b401e 100644 --- a/tests/shared/src/main/scala/magnolia/main.scala +++ b/tests/shared/src/main/scala/magnolia/main.scala @@ -1,10 +1,11 @@ package magnolia import examples._ +import examples.Show._ object Main { def main(args: Array[String]): Unit = { - println(Branch(Branch(Leaf(1, null), Leaf(2, null)), Leaf(3, null)).show) + println(Branch(Branch(Leaf(1, "a"), Leaf(2, "b")), Leaf(3, "c")).show) println(List[Entity](Person("John Smith", Address(List("1 High Street", "London", "SW1A 1AA"), Country("UK", "GBR", false)))).show) -- cgit v1.2.3