summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_45.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-04-25 19:37:26 +0300
committerEugene Burmako <xeno.by@gmail.com>2012-04-25 20:32:55 +0300
commit79dfed0baabd14394ba078b62c7418ae0e738603 (patch)
treef58168c14cc93f4be4cfe924fdb254750e4e9ff5 /test/files/run/reify_newimpl_45.scala
parent5cf9499731255078de62c8f3704fa596b564bf0e (diff)
downloadscala-79dfed0baabd14394ba078b62c7418ae0e738603.tar.gz
scala-79dfed0baabd14394ba078b62c7418ae0e738603.tar.bz2
scala-79dfed0baabd14394ba078b62c7418ae0e738603.zip
removes Expr <-> Tree implicits
Diffstat (limited to 'test/files/run/reify_newimpl_45.scala')
-rw-r--r--test/files/run/reify_newimpl_45.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/reify_newimpl_45.scala b/test/files/run/reify_newimpl_45.scala
index 241b7d4bc3..b2b52eaf5b 100644
--- a/test/files/run/reify_newimpl_45.scala
+++ b/test/files/run/reify_newimpl_45.scala
@@ -3,9 +3,9 @@ import scala.reflect.mirror._
object Test extends App {
class C[T >: Null] {
val code = reify{val x: T = "2".asInstanceOf[T]; println("ima worx: %s".format(x)); x}
- println(freeTypes(code))
- val T = freeTypes(code)(0)
- mkToolBox().runExpr(code, Map(T -> definitions.StringClass.asType))
+ println(freeTypes(code.tree))
+ val T = freeTypes(code.tree)(0)
+ mkToolBox().runExpr(code.tree, Map(T -> definitions.StringClass.asType))
}
new C[String]