dmd 1.046 and 2.031 releases
Tim Matthews
tim.matthews7 at gmail.com
Mon Jul 6 01:49:44 PDT 2009
grauzone wrote:
> Walter Bright wrote:
>> のしいか (noshiika) wrote:
>>> Thank you for the great work, Walter and all the other contributors.
>>>
>>> But I am a bit disappointed with the CaseRangeStatement syntax.
>>> Why is it
>>> case 0: .. case 9:
>>> instead of
>>> case 0 .. 9:
>
> Or
> case [0..10]:
> ?
>
> Compatible to how list slicing works.
>
> Ah yes, bikeshed issue, but my solution is more beautiful.
>
> Also, Walter, did you ever think about doing something about the
> fall-through-by-default issue? Of course in a way that preserves C
> compatibility.
Do u mean this
http://digitalmars.com/d/2.0/statement.html#FinalSwitchStatement
More information about the Digitalmars-d-announce
mailing list