summaryrefslogtreecommitdiff
path: root/test/files/pos/t1438.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-02-10 23:46:39 +0000
committerPaul Phillips <paulp@improving.org>2009-02-10 23:46:39 +0000
commit64af689e6659ab170826508f37720ee6e54386fa (patch)
tree0e2e5100426d23f2a734a97863c4eadcc77c38d3 /test/files/pos/t1438.scala
parentf4720669d6b4946653b5b419d85f5ec5a1e95bad (diff)
downloadscala-64af689e6659ab170826508f37720ee6e54386fa.tar.gz
scala-64af689e6659ab170826508f37720ee6e54386fa.tar.bz2
scala-64af689e6659ab170826508f37720ee6e54386fa.zip
moved most of the passing tests from pending to...
moved most of the passing tests from pending to files ; reunited inner.scala with inner.check
Diffstat (limited to 'test/files/pos/t1438.scala')
-rw-r--r--test/files/pos/t1438.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t1438.scala b/test/files/pos/t1438.scala
new file mode 100644
index 0000000000..221c3439dd
--- /dev/null
+++ b/test/files/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]]
+ }
+}