Meta:

let ratio = try!(div(x, y));

becomes

let ratio = match div(x, y)
{
    Ok(val) => val,
    Err(msg) => { return Err; }
}

Maybe we need a similar solution for @nogc.

Related:
https://d.puremagic.com/issues/show_bug.cgi?id=6840

Bye,
bearophile

Reply via email to