diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/continuations-neg/t5314-return-reset.check | 2 |
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 |