Seas of errors from DMD

bearophile bearophileHUGS at lycos.com
Sun Feb 19 13:35:39 PST 2012


This is a recent "fix":
http://d.puremagic.com/issues/show_bug.cgi?id=7481

but I suggest to revert it, or improve it significantly, because I am seeing avalanches of error messages, that slow down my compilation-fix-run cycle and are useless to me and unreadable.

A little example code:
http://codepad.org/UvlfYO1t

The bug is at line 46, the "in" before "T function":
void report(T)(in T[] r, in T function(T) pure f, ...

About half of the generated error messages, codepad shows only about the first 520 lines of errors, but it generates 1029 long lines of errors like this:
http://codepad.org/ayEabGIH

Bye,
bearophile


More information about the Digitalmars-d mailing list