aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-05-27 10:20:29 +0200
committerMartin Odersky <odersky@gmail.com>2015-05-27 10:30:55 +0200
commit26788d4caef75fdbe5ed81d50723d36afc21d2ee (patch)
tree293e6b34e86e32e3fb06074a571a18a343d6dbe5 /tests/disabled
parent6a728ebabe02423bd1f172f6e75d419f8a4837a4 (diff)
downloaddotty-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.check2
-rw-r--r--tests/disabled/run/t7291.scala22
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]]]
+ }
+}