From 6ea54efa60b54016daa339b1e13c5241a7d5feec Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 29 Sep 2012 13:34:48 -0700 Subject: Test case for SI-6311. This covers the situation which broke in 5c5e8d4dcd, reverted in the previous commit. --- test/files/pos/t6311.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/pos/t6311.scala diff --git a/test/files/pos/t6311.scala b/test/files/pos/t6311.scala new file mode 100644 index 0000000000..d27ad2f502 --- /dev/null +++ b/test/files/pos/t6311.scala @@ -0,0 +1,5 @@ +class A { + def fooMinimal[T, Coll <: Traversable[T]](msg: String)(param1: Traversable[T])(param2: Coll): Traversable[T] = throw new Exception() + + fooMinimal("")(List(1))(List(2)) +} -- cgit v1.2.3