Wondering about errors…

Maxim Fomin maxim at maxim-fomin.ru
Mon May 27 07:33:50 PDT 2013


On Monday, 27 May 2013 at 11:51:45 UTC, Adam D. Ruppe wrote:
> Yeah, me too.
> base.d(2141): Error: undefined identifier gf, did you mean 
> template to(T)?
> /home/me/d/dmd2/linux/bin32/../../src/phobos/std/format.d(1723): 
> Error: template std.format.formatRange does not match any 
> function template declaration. Candidates are:
> /home/me/d/dmd2/linux/bin32/../../src/phobos/std/format.d(1982):
>       std.format.formatRange(Writer, T, Char)(ref Writer w, ref 
> <screens of errors>
> make: *** [all] Error 1
>

"C++ is the only language where error message can be bigger than 
the program".

Unfortunately this happens sometimes in D too.


More information about the Digitalmars-d mailing list