More Clang diagnostic

Walter Bright newshound2 at digitalmars.com
Tue Oct 26 14:23:09 PDT 2010


Jérôme M. Berger wrote:
> Walter Bright wrote:
>> Jérôme M. Berger wrote:
>>> Walter Bright wrote:
>>>> bearophile wrote:
>>>>>> "acts very badly" kinda means the same thing :-)
>>>>> DMD acts very badly regarding that specific situation,
>>>> As I said, the two error messages it gives are right on target.
>>>     "AssertionFailure: 'tn->mod == MODimmutable' on line 879 in file
>>> 'mtype.c'" is "right on target" when compiling a D source file?? I'd
>>> hate to see a message you consider bad ;)
>> As I also said, that was a compiler bug, and I was referring to the two
>> diagnostic messages preceding it.
> 
> 	Yes, but I believe that the reason bearophile said "acts very
> badly" is because of the assert, since the other two messages are
> more or less the same as the clang message (albeit slightly more
> verbose).

I don't agree, as the thread is about quality of error messages, not bugs in the 
compiler.


More information about the Digitalmars-d mailing list