[Issue 2816] Sudden-death static assert is not very useful

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 9 10:33:45 PDT 2009


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





------- Comment #10 from shro8822 at vandals.uidaho.edu  2009-04-09 12:33 -------

(In reply to comment #9)

> Note that it detects the recursive instantiation in foo!(), even though it is
> instantiated from three different places.

it would be nice to have (maybe as an "even more verbose" option) a breakdown
of recursive invocations:

bug.d(14):        100 recursive instantiations from here: foo!(196) [50 at
bug.d(7), 50 at bug.d(8)]


-- 



More information about the Digitalmars-d-bugs mailing list