summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorphaller <hallerp@gmail.com>2012-08-08 16:20:07 +0200
committerphaller <hallerp@gmail.com>2012-08-08 16:24:29 +0200
commitb9c3a3b083833d2166b3d2ca2d1ccbca36b83c71 (patch)
treea3e316e5549e9cb2c38ba13c3b8bc2e87a24b102 /test/files
parent75e36233a0ea290cee98a35bc295feed4b18237e (diff)
downloadscala-b9c3a3b083833d2166b3d2ca2d1ccbca36b83c71.tar.gz
scala-b9c3a3b083833d2166b3d2ca2d1ccbca36b83c71.tar.bz2
scala-b9c3a3b083833d2166b3d2ca2d1ccbca36b83c71.zip
Replace CheckCPSMethodTraverser with additional parameter on transformer methods
Other fixes: - remove CPSUtils.allCPSMethods - add clarifying comment about adding a plus marker to a return expression
Diffstat (limited to 'test/files')
-rw-r--r--test/files/continuations-neg/t5314-return-reset.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/continuations-neg/t5314-return-reset.check b/test/files/continuations-neg/t5314-return-reset.check
index e288556546..4c817ae14d 100644
--- a/test/files/continuations-neg/t5314-return-reset.check
+++ b/test/files/continuations-neg/t5314-return-reset.check
@@ -1,4 +1,4 @@
-t5314-return-reset.scala:14: error: return expressions not allowed, since method calls CPS method
+t5314-return-reset.scala:14: error: return expression not allowed, since method calls CPS method
if (rnd.nextInt(100) > 50) return 5 // not allowed, since method is calling `reset`
^
one error found