switch case expressions

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 23 13:29:03 PDT 2015


On 4/23/15 4:25 PM, bearophile wrote:
> Martin Krejcirik:
>
>> So, should the case b compile or not ? Is the spec too restrictive
>> here, or is it a bug ?
>
> Apparently it's a WONTFIX mess. The spec should be updated.
> Walter&Andrei refused to fix a design bug here.

Source?

IMO, the OP code does not warrant the errors cited.

-Steve



More information about the Digitalmars-d mailing list