summaryrefslogtreecommitdiff
path: root/test/files/run/macro-reify-freevars/Test_2.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-09-19 10:46:45 -0700
committerPaul Phillips <paulp@improving.org>2012-09-19 10:58:12 -0700
commit3cec321f0541c1c2ccb44413676ba213cbfbfca4 (patch)
tree6581af59f3e4c41bcb03ea143790f95f1a429583 /test/files/run/macro-reify-freevars/Test_2.scala
parentd521ba28725fb8def570b0ebec4d9172e274c9c9 (diff)
parent2f9f8d5d67441f6f1999d68b2b2e57f5451f8da7 (diff)
downloadscala-3cec321f0541c1c2ccb44413676ba213cbfbfca4.tar.gz
scala-3cec321f0541c1c2ccb44413676ba213cbfbfca4.tar.bz2
scala-3cec321f0541c1c2ccb44413676ba213cbfbfca4.zip
Merge branch '2.10.x' into master
* 2.10.x: (51 commits) improved/fixed reflection docs based on comments Fixes SI-6354: improved error messages for Dynamic signature mismatches. Add RedBlackTree tests for take/drop/slice. Retain Ordering in drop/take/slice signatures. test case closes SI-5770 clarify caveats of App trait Remove `@static` annotation from the library. New starr that does not depend on `@static`. improved reflection documentation pull request feedback SI-5692 better error message SI-5942 toolboxes now reset front ends SI-6287 fixes synthetic symbol clashes in toolbox Revert "Implement @static annotation on singleton object fields." Revert "WIP add private/lazy checks and a few tests." Revert "Fixes SI-6189." Revert "Fixes SI-6236." Revert "Fix SI-4581." Revert "Fix SI-6294." refactors java reflection tests ... Conflicts: src/compiler/scala/tools/nsc/typechecker/Typers.scala src/partest/scala/tools/partest/package.scala src/reflect/scala/reflect/internal/Trees.scala
Diffstat (limited to 'test/files/run/macro-reify-freevars/Test_2.scala')
-rw-r--r--test/files/run/macro-reify-freevars/Test_2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-reify-freevars/Test_2.scala b/test/files/run/macro-reify-freevars/Test_2.scala
index 603cf10d41..e24758cfb4 100644
--- a/test/files/run/macro-reify-freevars/Test_2.scala
+++ b/test/files/run/macro-reify-freevars/Test_2.scala
@@ -6,6 +6,6 @@ object Test extends App {
val x = ValDef(NoMods, newTermName("x"), Ident("Int"), EmptyTree)
val fn = Function(List(x), Apply(Select(Ident(newTermName("x")), newTermName("$plus")), List(Literal(Constant("5")))))
val tree = Apply(Select(q, newTermName("map")), List(fn))
- try cm.mkToolBox().runExpr(tree)
+ try cm.mkToolBox().eval(tree)
catch { case ex: Throwable => println(ex.getMessage) }
} \ No newline at end of file