Skip to content

Commit 27bb8f1

Browse files
committed
Update check file
The error message is arguably better for diverging implicits.
1 parent 52fdea0 commit 27bb8f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/neg/i9568.check

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
-- Error: tests/neg/i9568.scala:13:10 ----------------------------------------------------------------------------------
22
13 | blaMonad.foo(bla) // error: diverges
33
| ^
4-
|no implicit argument of type => Monad[([_$3] =>> Any)] was found for parameter ev of method blaMonad in object Test.
5-
|I found:
4+
| no implicit argument of type => Monad[F] was found for parameter ev of method blaMonad in object Test.
5+
| I found:
66
|
7-
| Test.blaMonad[Nothing, S](Test.blaMonad[F, S])
7+
| Test.blaMonad[Nothing, S](Test.blaMonad[F, S])
88
|
9-
|But method blaMonad in object Test does not match type => Monad[Nothing].
9+
| But method blaMonad in object Test does not match type => Monad[Nothing].

0 commit comments

Comments
 (0)