[rust-dev] Fall-through in alt, break&continue by label

Henri Sivonen hsivonen at iki.fi
Thu Dec 13 07:03:11 PST 2012


On Fri, Nov 16, 2012 at 2:34 AM, Brian Anderson <banderson at mozilla.com> 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.)

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/


More information about the Rust-dev mailing list