summaryrefslogtreecommitdiff
path: root/test/files/run/t5535.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5535.scala')
-rw-r--r--test/files/run/t5535.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t5535.scala b/test/files/run/t5535.scala
index 7bc12f3470..2833b9c94b 100644
--- a/test/files/run/t5535.scala
+++ b/test/files/run/t5535.scala
@@ -7,4 +7,11 @@ println(h()(5))
val f = h() _
println(f(10))
"""
+
+ // replace indylambda function names by <function1>
+ override def eval() = {
+ val lines = super.eval
+ val r = """\$\$Lambda.*""".r
+ lines.map(l => r.replaceAllIn(l, "<function1>"))
+ }
}