blob: 4c817ae14dfb4f0653edabc5337da568e7c15f0c (
plain) (
tree)
|
|
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
|