aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-07-12 18:12:27 +0200
committerMartin Odersky <odersky@gmail.com>2016-07-12 18:14:04 +0200
commitc7f3b45abf221c432b3fbd7462741b00a9e10142 (patch)
tree32171eb1c314e64f155fbd05d9ef01e43cac4f53 /tests/disabled
parent84a1a7ae7b1e4931fe04a5a21a04bb858e8acebb (diff)
downloaddotty-c7f3b45abf221c432b3fbd7462741b00a9e10142.tar.gz
dotty-c7f3b45abf221c432b3fbd7462741b00a9e10142.tar.bz2
dotty-c7f3b45abf221c432b3fbd7462741b00a9e10142.zip
Drop restriction to 2nd order hk types
Allow hk type parameters to be higher kinded themselves.
Diffstat (limited to 'tests/disabled')
-rw-r--r--tests/disabled/not-representable/pos/t2066.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/disabled/not-representable/pos/t2066.scala b/tests/disabled/not-representable/pos/t2066.scala
index 30cb99d45..d175769fa 100644
--- a/tests/disabled/not-representable/pos/t2066.scala
+++ b/tests/disabled/not-representable/pos/t2066.scala
@@ -3,7 +3,7 @@ trait A1 {
}
trait B1 extends A1 {
- override def f[T[_]] = ()
+ override def f[T[+_]] = ()
}
@@ -12,12 +12,12 @@ trait A2 {
}
trait B2 extends A2 {
- override def f[T[_]] = ()
+ override def f[T[-_]] = ()
}
trait A3 {
- def f[T[X[_]]] = ()
+ def f[T[X[+_]]] = ()
}
trait B3 extends A3 {