Walter:

> "acts very badly" kinda means the same thing :-)

DMD acts very badly regarding that specific situation, and on average it acts 
quite better than GCC (and on average a little worse than Clang).

Have you appreciated this idea from Clang?
http://d.puremagic.com/issues/show_bug.cgi?id=5004


> It's of very questionable value when you consider that D is not a line 
> oriented 
> language at all. There is no correct placement of ; in a sequence of 
> whitespace.

I think the same may be said about C/C++ code where those Clang error messages 
come from. My editor goes to the line number DMD gives in its error messages, 
so if DMD gives the line of the next token I often have to look back to find 
the right spot. It's not an important thing, I have not filed a bug report on 
this, but in this case I prefer the error message given by Clang :-)

Bye,
bearophile

Reply via email to