Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (4 sloc) 239 Bytes
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
Jump to Line
Something went wrong with that request. Please try again.