[Issue 2510] provide a template instantiation backtrace when compile fails in a template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 13 00:18:05 PST 2008


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





------- Comment #1 from kamm-removethis at incasoftware.de  2008-12-13 02:18 -------
Created an attachment (id=281)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=281&action=view)
add basic template instantiation traces

We've added this to LDC a while back and I've attached the original diff. It
doesn't cover all cases, but should at least provide a trace for a significant
number of in-template errors.

In order to not spam users, we only print long traces completely when -v is
given. Otherwise only the first and last three steps in the chain are shown.


-- 



More information about the Digitalmars-d-bugs mailing list