From 26788d4caef75fdbe5ed81d50723d36afc21d2ee Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 27 May 2015 10:20:29 +0200 Subject: Disable failing test --- tests/disabled/run/t7291.check | 2 ++ tests/disabled/run/t7291.scala | 22 ++++++++++++++++++++++ tests/run/t7291.check | 2 -- tests/run/t7291.scala | 22 ---------------------- 4 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 tests/disabled/run/t7291.check create mode 100644 tests/disabled/run/t7291.scala delete mode 100644 tests/run/t7291.check delete mode 100644 tests/run/t7291.scala diff --git a/tests/disabled/run/t7291.check b/tests/disabled/run/t7291.check new file mode 100644 index 000000000..c07ba986a --- /dev/null +++ b/tests/disabled/run/t7291.check @@ -0,0 +1,2 @@ +conjure +traversable diff --git a/tests/disabled/run/t7291.scala b/tests/disabled/run/t7291.scala new file mode 100644 index 000000000..ee22b581e --- /dev/null +++ b/tests/disabled/run/t7291.scala @@ -0,0 +1,22 @@ + +import scala.language.{ higherKinds, implicitConversions } + +trait Fooable[T] +object Fooable { + implicit def conjure[T]: Fooable[T] = { + println("conjure") + new Fooable[T]{} + } + +} + +object Test { + implicit def traversable[T, Coll[_] <: Traversable[_]](implicit +elem: Fooable[T]): Fooable[Coll[T]] = { + println("traversable") + new Fooable[Coll[T]]{} + } + def main(args: Array[String]): Unit = { + implicitly[Fooable[List[Any]]] + } +} diff --git a/tests/run/t7291.check b/tests/run/t7291.check deleted file mode 100644 index c07ba986a..000000000 --- a/tests/run/t7291.check +++ /dev/null @@ -1,2 +0,0 @@ -conjure -traversable diff --git a/tests/run/t7291.scala b/tests/run/t7291.scala deleted file mode 100644 index ee22b581e..000000000 --- a/tests/run/t7291.scala +++ /dev/null @@ -1,22 +0,0 @@ - -import scala.language.{ higherKinds, implicitConversions } - -trait Fooable[T] -object Fooable { - implicit def conjure[T]: Fooable[T] = { - println("conjure") - new Fooable[T]{} - } - -} - -object Test { - implicit def traversable[T, Coll[_] <: Traversable[_]](implicit -elem: Fooable[T]): Fooable[Coll[T]] = { - println("traversable") - new Fooable[Coll[T]]{} - } - def main(args: Array[String]): Unit = { - implicitly[Fooable[List[Any]]] - } -} -- cgit v1.2.3