new tests in pending

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@16304 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
odersky 2008-10-21 10:56:47 +00:00
parent 386ad7a6cb
commit b378ec2523
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class C[A] {
type CC[B] <: C[B]
def aio[T]: T = aio[T]
}
class D[A] extends C[A] {
protected def nv[B](elems: Iterator[B]): CC[B] = {
val x = new D[B]
x.aio[CC[B]]
}
}

View File

@ -0,0 +1,7 @@
class View[C[A]] {}
object Test {
null match {
case v: View[_] =>
}
}