Permalink
Browse files

Removed some tests for a "not a bug".

  • Loading branch information...
paulp committed May 5, 2012
1 parent e5f2ddb commit bfe93fe512a5381f89ab38b1824c29d3c80c48a0
Showing with 0 additions and 46 deletions.
  1. +0 −23 test/pending/pos/t5685.scala
  2. +0 −23 test/pending/pos/t5685b.scala
@@ -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
}
}
@@ -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
}
}

0 comments on commit bfe93fe

Please sign in to comment.