From 4619393a6c3b52127ceec07e2fc3630d22aef51a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 15 Dec 2015 17:46:39 +0100 Subject: Categorize more tests All pos tests up to 3999 have been triaged. One new test in pending. --- tests/pos/t3890.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/pos/t3890.scala (limited to 'tests/pos/t3890.scala') diff --git a/tests/pos/t3890.scala b/tests/pos/t3890.scala new file mode 100644 index 000000000..0c5f5dfe6 --- /dev/null +++ b/tests/pos/t3890.scala @@ -0,0 +1,4 @@ +object Test { + def g[S, T <: S](s: S)(t: T): Unit = println("") + g("a")("a") // error: inferred type arguments [java.lang.String] do not conform to method g's type parameter bounds [T <: S] +} -- cgit v1.2.3