On Fri, Oct 5, 2012 at 10:03 PM, Brian Anderson <[email protected]> wrote: >> Even break and continue by label would be useful without fall-through in >> alt. > > Thanks, Henri. I've posted this information to our bugtracker: > https://github.com/mozilla/rust/issues/2216
Thanks. So does this mean I should work with the assumption that Rust will get break/continue by label and I should not develop a code transformation to work around the current lack thereof? As the first real code step towards translation to Rust, I wrote a Java to Java transformation for getting rid of fall-through in switch. The exercise was successful: The result still passes the test suite. (I did this Java to Java to be able to check the result with the test suite. I intend to use the Java to Java transformation as a preprocessing step for the translation to Rust.) -- Henri Sivonen [email protected] http://hsivonen.iki.fi/ _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
