diff options
author | Martin Odersky <odersky@gmail.com> | 2015-05-27 10:20:29 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-05-27 10:30:55 +0200 |
commit | 26788d4caef75fdbe5ed81d50723d36afc21d2ee (patch) | |
tree | 293e6b34e86e32e3fb06074a571a18a343d6dbe5 /tests/disabled | |
parent | 6a728ebabe02423bd1f172f6e75d419f8a4837a4 (diff) | |
download | dotty-26788d4caef75fdbe5ed81d50723d36afc21d2ee.tar.gz dotty-26788d4caef75fdbe5ed81d50723d36afc21d2ee.tar.bz2 dotty-26788d4caef75fdbe5ed81d50723d36afc21d2ee.zip |
Disable failing test
Diffstat (limited to 'tests/disabled')
-rw-r--r-- | tests/disabled/run/t7291.check | 2 | ||||
-rw-r--r-- | tests/disabled/run/t7291.scala | 22 |
2 files changed, 24 insertions, 0 deletions
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]]] + } +} |