From cb754b1a5698e231c84d94ee18508c21480c2335 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 19 Oct 2009 22:18:21 +0000 Subject: Relaxing a check for ticket #2486, plus test case. proposing this as the long-term fix (unless by some miracle it is the right fix, in which case good for me.) --- test/files/pos/bug2486.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/pos/bug2486.scala (limited to 'test/files/pos/bug2486.scala') diff --git a/test/files/pos/bug2486.scala b/test/files/pos/bug2486.scala new file mode 100644 index 0000000000..69fe4c127e --- /dev/null +++ b/test/files/pos/bug2486.scala @@ -0,0 +1,3 @@ +class A[T] +class B extends A[Int] +class C[T] extends A[T] { def f(t: A[T]) = t match { case x: B => () } } -- cgit v1.2.3