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:
parent
386ad7a6cb
commit
b378ec2523
|
@ -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]]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
class View[C[A]] {}
|
||||
|
||||
object Test {
|
||||
null match {
|
||||
case v: View[_] =>
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue