aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t6846.scala
diff options
context:
space:
mode:
authorSamuel Gruetter <samuel.gruetter@epfl.ch>2014-12-16 16:38:09 +0100
committerSamuel Gruetter <samuel.gruetter@epfl.ch>2014-12-16 16:38:09 +0100
commit42851ed2675015d42bb341b82a09bd0bef4a8ce4 (patch)
tree06806b4183cf74a43553e9a8a9acfeff84fdf712 /tests/untried/pos/t6846.scala
parent5be609fc4e04e3cca5e1435ee41b8cacac9b0513 (diff)
downloaddotty-42851ed2675015d42bb341b82a09bd0bef4a8ce4.tar.gz
dotty-42851ed2675015d42bb341b82a09bd0bef4a8ce4.tar.bz2
dotty-42851ed2675015d42bb341b82a09bd0bef4a8ce4.zip
move failing tests from tests/untried/pos to tests/pending/pos
Diffstat (limited to 'tests/untried/pos/t6846.scala')
-rw-r--r--tests/untried/pos/t6846.scala28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/untried/pos/t6846.scala b/tests/untried/pos/t6846.scala
deleted file mode 100644
index 2536e725c..000000000
--- a/tests/untried/pos/t6846.scala
+++ /dev/null
@@ -1,28 +0,0 @@
-object Test {
- class Arb[X_909538798]
- implicit def foo[M[_], A]: Arb[M[A]] = null
- foo: Arb[List[Int]]
- type ListInt = List[Int]
- foo: Arb[ListInt]
-}
-
-object Test2 {
- import scala.collection.immutable.List
-
- class Carb[X_1647473379]
- implicit def narrow[N, M[_], A](x: Carb[M[A]])(implicit ev: N <:< M[A]): Carb[N] = null
- implicit def bar[M[_], A]: Carb[M[A]] = null
-
- type ListInt = List[Int]
-
- val x: List[Int] = List(1)
- val y: ListInt = List(1)
-
- type ListSingletonX = x.type
- type ListSingletonY = y.type
-
- bar: Carb[List[Int]]
- bar: Carb[ListInt]
- bar: Carb[ListSingletonX]
- bar: Carb[ListSingletonY]
-}