On 24 November 2010 16:32, Jeffrey Yasskin <jyass...@gmail.com> wrote: > I would like #4 best, but to do it right you'd have to infer the > expected type of the branched completion from its context, and I think > you don't yet do any top-down typechecking (except a bit in > pattern-alt which may not help with this case). After that, #3, even > though I'll definitely get confused when I terminate my blocks with a > semicolon and they stop working as values.
For me the semicoln-as-separator, not terminator, was the worst feature of programming in Pascal. Everybody hated it as the extra semicolon was way to often the sole reason for compilation errors. I suspect that was part of the reasons to switch to Borland C++. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev