summaryrefslogtreecommitdiff
path: root/test/files/run/macro-abort-fresh/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-abort-fresh/Test_2.scala')
-rw-r--r--test/files/run/macro-abort-fresh/Test_2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-abort-fresh/Test_2.scala b/test/files/run/macro-abort-fresh/Test_2.scala
index f389231ca6..ecf48b9752 100644
--- a/test/files/run/macro-abort-fresh/Test_2.scala
+++ b/test/files/run/macro-abort-fresh/Test_2.scala
@@ -1,6 +1,6 @@
object Test extends App {
import scala.reflect.mirror._
val tree = Select(Ident("Macros"), newTermName("foo"))
- try tree.eval
+ try Expr(tree).eval
catch { case ex: Throwable => println(ex.getMessage) }
} \ No newline at end of file