[Bug 77] New: After a compile error occurs, all template instances fail

Don Clugston dac at nospam.com.au
Sat Apr 1 10:35:11 PST 2006

Walter Bright wrote:
> d-bugmail at puremagic.com wrote:
>> And with a real project, thousands of lines of incorrect error 
>> messages can be
>> generated by a single typo! In fact, I now encounter this bug every 
>> time I get
>> any error message at all. I'd rank it as the most annoying bug in DMD. I
>> consider this severity=major -- I've had to temporarily abandon some 
>> of my
>> metaprogramming work because of it.
> I actually put this in at your suggestion - you suggested that once 
> templates had an error, it was pointless to continue trying to expand 
> them because of a blizzard of cascading errors. I can change it so it 
> just quits on first template error?

Oh no! You're telling me it's my fault! I was actually referring to the 
old erroneous blizzard that used to occur. I thought this was the same 
one. Best I think would be to continue to compile, but limit the max 
number of errors.

(quietly dying of shame)

More information about the Digitalmars-d-bugs mailing list