CaseStatement specification issue

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 15 17:45:51 PDT 2014


On Sat, 16 Aug 2014 02:20:27 +0200
Timon Gehr via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> >> What is the problem? This passes DMD's parser.
> > that is the problem: it shouldn't.
> That's not what you said.
that's what i mean. ok, i should write it clear.

> There is nothing to be 'fixed'. The code is still rejected when it is 
> analysed.
there is no sense to accept such code in parser anyway, and it can be
easily fixed in grammar.

ok, there is some sense with overloaded opAssign() and friends, but
such code is awful and i believe that there is no sane reasons to allow
such abomination.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140816/1ba7de5a/attachment.sig>


More information about the Digitalmars-d mailing list