On 10/10/2012 04:16 AM, Henri Sivonen wrote:
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?

Yes, if you still need it, then you can assume we will add it, though I don't know the timeframe. Sadly, there are a lot of things [prioritized] for the next release and labeled break and continue isn't on there. I will add it presently.

[prioritized]: https://github.com/mozilla/rust/wiki/Note-0.5-priorities


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.)


This is great news. Thank you so much for continuing to pursue this while we dally.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to