On 6/23/11 6:09 PM, Mike Capp wrote:
For example, I think there's a case to be made for
combining the current

     log_err("oops");
     fail;

idiom into a single

     fail("oops");

expression, because in the idiomatic version there's no way for a
batching log handler to unambiguously associate the error log with the
failure, and thus with any note logs associated with the failure's
unwinding.

You'll be happy to know that this is already implemented and working :)

Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to