www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Traced static assert ?

reply Jacob Carlborg <doob me.com> writes:
Is it possible to somehow trace a static assert, just like a backtrace 
for exceptions ?
Oct 28 2009
parent reply Don <nospam nospam.com> writes:
Jacob Carlborg wrote:
 Is it possible to somehow trace a static assert, just like a backtrace 
 for exceptions ?
http://d.puremagic.com/issues/show_bug.cgi?id=2816 Unfortunately Walter rejected it, but gave no clue as to why.
Oct 28 2009
parent Brad Roberts <braddr puremagic.com> writes:
Don wrote:
 Jacob Carlborg wrote:
 Is it possible to somehow trace a static assert, just like a backtrace
 for exceptions ?
http://d.puremagic.com/issues/show_bug.cgi?id=2816 Unfortunately Walter rejected it, but gave no clue as to why.
Walter, if Don was to update the patch to match the current dmd code and fold the various minor fixes listed in the bug report into it, would you be willing to incorporate the changes? I haven't seen a single person, other than you, question the value of template failure 'stack' traces. - Brad
Dec 04 2009