From 1458cc4d1121081c70674e3db81200dc62e7e7a6 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 30 Nov 2017 14:54:15 +0100 Subject: [PATCH] Add explicit types to avoid divergent implicits warning --- library/test/dotty/ShowTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/test/dotty/ShowTests.scala b/library/test/dotty/ShowTests.scala index bec3b2621f20..4ea7eb28faab 100644 --- a/library/test/dotty/ShowTests.scala +++ b/library/test/dotty/ShowTests.scala @@ -64,7 +64,7 @@ class ShowTests { case class Car(model: String, manufacturer: String, year: Int) assertEquals("Car(Mustang,Ford,1967)", Car("Mustang", "Ford", 1967).show) - assertEquals("Map()", Map().show) + assertEquals("Map()", Map[Nothing, Nothing]().show) } @Test def partialShow = {