Feature Request: Location of template instantiation failure
Oskar Linde
oskar.lindeREM at OVEgmail.com
Tue Dec 11 08:40:59 PST 2007
Janice Caron wrote:
>
> So ... feature request: If the DMD compiler is unable to instantiate a
> template, then, as part of the error reporting, please could it print
> out the filename and line number of the line which triggered the
> instantiation? It would be so much more helpful to see:
>
> test.d(5): static assert is false
> test.d(12): instantiation failure
DMD used to do this, which often resulted in error messages of 1000 of
lines. It would still be very useful to get the old behavior back via a
compiler switch though.
--
Oskar
More information about the Digitalmars-d
mailing list