More Clang diagnostic

JimBob jim at bob.com
Tue Oct 26 01:10:21 PDT 2010


"Michel Fortin" <michel.fortin at michelf.com> wrote in message 
news:ia5e1v$22jf$1 at digitalmars.com...
> On 2010-10-25 21:57:54 -0400, Walter Bright <newshound2 at digitalmars.com> 
> said:
>
>> bearophile wrote:
>>> Walter:
>>>
>>>> It's the very next token. There's nothing wrong with the message.
>>>
>>> In that case I prefer the error message to refer to the line where the
>>> semicolon is absent. I may ask a poll to other D users to see if they 
>>> agree
>>> with me or not on this.
>>
>> 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.
>
> It's much faster to fix a problem when the IDE sends you right where you 
> need to type.

One of my favourite features of the Delphi IDE was that when you compiled it 
would take you to the exact palce of the first error it found. And because 
the compile times were so fast you could just press or click compile, fix 
the typo / bug, press / click it again. So you could use the compile button 
as a "next bug to fix" button, and work your way through them very quickly.





More information about the Digitalmars-d mailing list