aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/reflection-sync-subtypes.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-13 12:08:27 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-13 12:08:27 +0200
commit73a93505c432b410ae39fb3c4d6168b2e49832ce (patch)
tree53d45141a7b93682bea6430b0fb6ab28c3c3fad3 /tests/pending/run/reflection-sync-subtypes.scala
parent89bacb9c25a58454ff1878e67f7ea07ffc8c269f (diff)
downloaddotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.tar.gz
dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.tar.bz2
dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.zip
Running rewrite tool on run tests.
Diffstat (limited to 'tests/pending/run/reflection-sync-subtypes.scala')
-rw-r--r--tests/pending/run/reflection-sync-subtypes.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pending/run/reflection-sync-subtypes.scala b/tests/pending/run/reflection-sync-subtypes.scala
index 7f75a464a..bcfb24ebb 100644
--- a/tests/pending/run/reflection-sync-subtypes.scala
+++ b/tests/pending/run/reflection-sync-subtypes.scala
@@ -4,8 +4,8 @@ object Test extends App {
val n = 1000
val rng = new scala.util.Random()
val tasks = List(
- () => typeOf[List[Int]] <:< typeOf[List[T] forSome { type T }],
- () => typeOf[List[T] forSome { type T }] <:< typeOf[List[Any]],
+ () => typeOf[List[Int]] <:< typeOf[List[_]],
+ () => typeOf[List[_]] <:< typeOf[List[Any]],
() => typeOf[Map[Int, Object]] <:< typeOf[Iterable[(Int, String)]],
() => typeOf[Expr[Any] { val mirror: rootMirror.type }] <:< typeOf[Expr[List[List[List[Int]]]]{ val mirror: rootMirror.type }])
val perms = tasks.permutations.toList
@@ -17,4 +17,4 @@ object Test extends App {
}
})
threads foreach (_.start)
-} \ No newline at end of file
+}