blob: 8c2c06fde30af75b79d51ac99472f3a329cd3906 (
plain) (
tree)
|
|
object Test extends dotty.runtime.LegacyApp {
val foos = (1 to 1000).toSeq
try
foos.par.map(i => if (i % 37 == 0) sys.error("i div 37") else i)
catch {
case ex: RuntimeException => println("Runtime exception")
}
}
|