From b9c3a3b083833d2166b3d2ca2d1ccbca36b83c71 Mon Sep 17 00:00:00 2001 From: phaller Date: Wed, 8 Aug 2012 16:20:07 +0200 Subject: 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 --- test/files/continuations-neg/t5314-return-reset.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/continuations-neg/t5314-return-reset.check') 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 -- cgit v1.2.3