aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNada Amin <nada.amin@epfl.ch>2015-03-06 14:38:19 +0100
committerNada Amin <nada.amin@epfl.ch>2015-03-06 14:38:19 +0100
commite5465b005d4654beed842682998679a3f732bf23 (patch)
treece79f4fad96aa2c0a34c548a8b4e9edf7f0a2ea7 /test
parent23681e4f2657fc1cde7a3917c0414cc7601a1216 (diff)
downloaddotty-e5465b005d4654beed842682998679a3f732bf23.tar.gz
dotty-e5465b005d4654beed842682998679a3f732bf23.tar.bz2
dotty-e5465b005d4654beed842682998679a3f732bf23.zip
The fold reverses the order of the typed strings.
Diffstat (limited to 'test')
-rw-r--r--test/test/DottyTypeStealer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/DottyTypeStealer.scala b/test/test/DottyTypeStealer.scala
index 3b7137dcc..fed14499a 100644
--- a/test/test/DottyTypeStealer.scala
+++ b/test/test/DottyTypeStealer.scala
@@ -24,7 +24,7 @@ object DottyTypeStealer {
}
}
val d = new DeepFolder[List[ValDef]](findValDef).foldOver(Nil, tree)
- tp = d.map(_.tpe.widen)
+ tp = d.map(_.tpe.widen).reverse
scontext = context
}
(scontext, tp)