dmd 1.046 and 2.031 releases
Jesse Phillips
jessekphillips at gmail.com
Mon Jul 6 19:57:03 PDT 2009
On Mon, 06 Jul 2009 14:38:53 -0500, Andrei Alexandrescu wrote:
> Denis Koroskin wrote:
>> Reuse goto?
>
> So any case-labeled code should end either with a control flow statement
> that transfers control elswhere? That sounds like a great idea.
> Fall-through is so rare and so rarely intended, it makes sense to
> require the programmer to state the intent explicitly via a goto case.
>
> Andrei
The goto method already works, the only change needed would be to not
have fallthru default.
http://digitalmars.com/d/2.0/statement.html#GotoStatement
More information about the Digitalmars-d-announce
mailing list