summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-09-29 13:34:48 -0700
committerPaul Phillips <paulp@improving.org>2012-09-29 13:37:24 -0700
commit6ea54efa60b54016daa339b1e13c5241a7d5feec (patch)
treedd8eaf8eb3c6ae58eef41c6acbabb457a6dc1d2d /test
parent18fd93b5ec7e439b59b75f96e976aad6025a76f4 (diff)
downloadscala-6ea54efa60b54016daa339b1e13c5241a7d5feec.tar.gz
scala-6ea54efa60b54016daa339b1e13c5241a7d5feec.tar.bz2
scala-6ea54efa60b54016daa339b1e13c5241a7d5feec.zip
Test case for SI-6311.
This covers the situation which broke in 5c5e8d4dcd, reverted in the previous commit.
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/t6311.scala5
1 files changed, 5 insertions, 0 deletions
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))
+}