diff options
Diffstat (limited to 'tests/neg/i739.scala')
-rw-r--r-- | tests/neg/i739.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/neg/i739.scala b/tests/neg/i739.scala new file mode 100644 index 000000000..5385fa42c --- /dev/null +++ b/tests/neg/i739.scala @@ -0,0 +1,7 @@ +class Foo[A, B] +class Test { + implicit val f: Foo[Int, String] = ??? + def t[A, B >: A](a: A)(implicit f: Foo[A, B]) = ??? + t(1) // error +} + |