blob: e28855654611059947ea28b5dbf09506836a256d (
plain) (
blame)
1
2
3
4
|
t5314-return-reset.scala:14: error: return expressions not allowed, since method calls CPS method
if (rnd.nextInt(100) > 50) return 5 // not allowed, since method is calling `reset`
^
one error found
|