Skip to content

Commit 19fdc50

Browse files
authored
Merge pull request #3611 from dotty-staging/fix-warining
Add explicit types to avoid divergent implicit warning
2 parents 668f1b7 + 1458cc4 commit 19fdc50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/test/dotty/ShowTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ShowTests {
6464
case class Car(model: String, manufacturer: String, year: Int)
6565

6666
assertEquals("Car(Mustang,Ford,1967)", Car("Mustang", "Ford", 1967).show)
67-
assertEquals("Map()", Map().show)
67+
assertEquals("Map()", Map[Nothing, Nothing]().show)
6868
}
6969

7070
@Test def partialShow = {

0 commit comments

Comments
 (0)