diff options
author | Martin Odersky <odersky@gmail.com> | 2008-10-21 10:56:47 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-10-21 10:56:47 +0000 |
commit | b3057cb638d7ad4ad978d164ff58d838e074ca12 (patch) | |
tree | 2956cd67286f90b8bd72f2eb91809b531fa2f9a7 /test/pending/pos | |
parent | 54a4542917db2efea22af91cfadc56b268f797f5 (diff) | |
download | scala-b3057cb638d7ad4ad978d164ff58d838e074ca12.tar.gz scala-b3057cb638d7ad4ad978d164ff58d838e074ca12.tar.bz2 scala-b3057cb638d7ad4ad978d164ff58d838e074ca12.zip |
new tests in pending
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/t1438.scala | 10 | ||||
-rw-r--r-- | test/pending/pos/t1439.scala | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/test/pending/pos/t1438.scala b/test/pending/pos/t1438.scala new file mode 100644 index 0000000000..221c3439dd --- /dev/null +++ b/test/pending/pos/t1438.scala @@ -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]] + } +} diff --git a/test/pending/pos/t1439.scala b/test/pending/pos/t1439.scala new file mode 100644 index 0000000000..ae1fdd10b5 --- /dev/null +++ b/test/pending/pos/t1439.scala @@ -0,0 +1,7 @@ +class View[C[A]] {} + +object Test { + null match { + case v: View[_] => + } +} |