dmd 1.046 and 2.031 releases

grauzone none at example.net
Mon Jul 6 01:31:38 PDT 2009


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.


More information about the Digitalmars-d-announce mailing list