A confusing expression?

mwarning moritzwarning at web.de
Sun Aug 1 17:03:43 PDT 2010


On Sun, 01 Aug 2010 19:22:42 -0400, bearophile wrote:

> Turning 'x / y * z' into a D syntax error (as done in bug 
> http://d.puremagic.com/issues/show_bug.cgi?id=4077 ) looks excessive to
> me. A warning seems enough, but Walter is not a lover of warnings (and
> sometimes I agree, I'd like to turn three D warnings into errors). What
> do you think?

Turning it into a syntax error sounds to be the right way to do to me.
>From a mathematical syntax pov, it's undefined behavior.


More information about the Digitalmars-d-learn mailing list