summaryrefslogtreecommitdiff
path: root/test/files/run/reify_closure2a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_closure2a.scala')
-rw-r--r--test/files/run/reify_closure2a.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reify_closure2a.scala b/test/files/run/reify_closure2a.scala
index b88bec005d..6c28514c2b 100644
--- a/test/files/run/reify_closure2a.scala
+++ b/test/files/run/reify_closure2a.scala
@@ -4,9 +4,9 @@ import reflect.runtime.Mirror.ToolBox
object Test extends App {
def foo(y: Int): Int => Int = {
- val fun: reflect.Code[Int => Int] = x => {
+ val fun = reflect.Code.lift{(x: Int) => {
x + y
- }
+ }}
val reporter = new ConsoleReporter(new Settings)
val toolbox = new ToolBox(reporter)