diff options
author | Paul Phillips <paulp@improving.org> | 2012-05-04 18:51:19 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-04 18:51:19 -0700 |
commit | bfe93fe512a5381f89ab38b1824c29d3c80c48a0 (patch) | |
tree | c8af83eb28a705a29a01cccc4ae670acbcdfdf03 /test | |
parent | e5f2ddb6c2bc80f26cc004a11a4ab5036b239457 (diff) | |
download | scala-bfe93fe512a5381f89ab38b1824c29d3c80c48a0.tar.gz scala-bfe93fe512a5381f89ab38b1824c29d3c80c48a0.tar.bz2 scala-bfe93fe512a5381f89ab38b1824c29d3c80c48a0.zip |
Removed some tests for a "not a bug".
Diffstat (limited to 'test')
-rw-r--r-- | test/pending/pos/t5685.scala | 23 | ||||
-rw-r--r-- | test/pending/pos/t5685b.scala | 23 |
2 files changed, 0 insertions, 46 deletions
diff --git a/test/pending/pos/t5685.scala b/test/pending/pos/t5685.scala deleted file mode 100644 index 9ac42a174e..0000000000 --- a/test/pending/pos/t5685.scala +++ /dev/null @@ -1,23 +0,0 @@ -trait X[A] { - def x: A -} - -trait XPrint[A] extends X[A] { - abstract override def x: A = { - val a = super.x - println(a) - a - } -} - -trait F[A, B] { outer => - def apply(xv: X[A]): X[B] - - def andThen[C](f: F[B, C]): F[A, C] = new F[A, C] { - def apply(xv: X[A]): X[C] = f(new XX(xv) with XPrint[B]) - } - - class XX(xv: X[A]) extends X[B] { - def x = outer(xv).x - } -} diff --git a/test/pending/pos/t5685b.scala b/test/pending/pos/t5685b.scala deleted file mode 100644 index 18ff803f89..0000000000 --- a/test/pending/pos/t5685b.scala +++ /dev/null @@ -1,23 +0,0 @@ -trait X[+A] { - def x: A -} - -trait XPrint[+A] extends X[A] { - abstract override def x: A = { - val a = super.x - println(a) - a - } -} - -trait F[-A, +B] { outer => - def apply(xv: X[A]): X[B] - - def andThen[C](f: F[B, C]): F[A, C] = new F[A, C] { - def apply(xv: X[A]): X[C] = f(new XX(xv) with XPrint[B]) - } - - class XX(xv: X[A]) extends X[B] { - def x = outer(xv).x - } -} |