3 ms·
yeah! I agree, it's just an experiment. Anyway, you could use the named return values to have a similar behaviour. func hello() (a int) { try.This(func
by manucorporat 12y ago
yeah! I agree, it's just an experiment. Anyway, you could use the named return values to have a similar behaviour.
func hello() (a int) {
try.This(func() {
a = couldPanic()
}).Catch(_ try.E) {
a = 0
})
}