On Thu, Dec 13, 2012 at 7:03 AM, Henri Sivonen <[email protected]> wrote: > On Fri, Nov 16, 2012 at 2:34 AM, Brian Anderson <[email protected]> wrote: >> Tim got labeled break and continue work for 'loop', and I believe for >> 'while' as well. It does not yet work on 'for' loops. Here's a test case to >> crib off of: >> >> https://github.com/mozilla/rust/blob/incoming/src/test/run-pass/issue-2216.rs > > Thanks Tim! > > I believe I have now the control flow stuff handled. You can see the > current output of the translator at http://hsivonen.iki.fi/rust-temp/ > . (As you can see, array and object referencing is very much not > done.) >
That's great! Maybe we don't need `break` out of `for` loops after all... (though there is an open issue on it: https://github.com/mozilla/rust/issues/4131 ) Cheers, Tim -- Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt "We know there'd hardly be no one in prison / If rights to food, clothes, and shelter were given." -- Boots Riley _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
