We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e48d1c commit 7f98366Copy full SHA for 7f98366
tests/neg/i739.scala
@@ -0,0 +1,7 @@
1
+class Foo[A, B]
2
+class Test {
3
+ implicit val f: Foo[Int, String] = ???
4
+ def t[A, B >: A](a: A)(implicit f: Foo[A, B]) = ???
5
+ t(1) // error
6
+}
7
+
0 commit comments