diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-19 22:18:21 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-19 22:18:21 +0000 |
commit | cb754b1a5698e231c84d94ee18508c21480c2335 (patch) | |
tree | 22a16de17b5f3d332dc323bbb8b65c4d7e8914fe /test/files/pos | |
parent | 1e452efbc159bcd553871a44cb697413cc6fc1bd (diff) | |
download | scala-cb754b1a5698e231c84d94ee18508c21480c2335.tar.gz scala-cb754b1a5698e231c84d94ee18508c21480c2335.tar.bz2 scala-cb754b1a5698e231c84d94ee18508c21480c2335.zip |
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.)
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/bug2486.scala | 3 |
1 files changed, 3 insertions, 0 deletions
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 => () } } |