http://d.puremagic.com/issues/show_bug.cgi?id=2902

           Summary: improve error message with template
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: somea...@yahoo.com


the following message is very hard to track down the issue:

dmd/linux/bin/../bin/../../src/phobos/std/stdio.d(511): Error: template
std.format.formattedWrite(Writer,F,A...) does not match any function template
declaration
dmd/linux/bin/../bin/../../src/phobos/std/stdio.d(511): Error: template
std.format.formattedWrite(Writer,F,A...) cannot deduce template function from
argument types !()(LockingTextWriter,int,immutable(char)[])

It's better to also pin-point where is the caller: writefln.


-- 

Reply via email to