[Issue 5093] improve error for importing std.c.windows.windows

Jonathan M Davis jmdavisProg at gmx.com
Mon Nov 15 13:10:41 PST 2010


On Monday 15 November 2010 12:49:05 Don wrote:
> d-bugmail at puremagic.com wrote:
> > http://d.puremagic.com/issues/show_bug.cgi?id=5093
> > 
> > 
> > 
> > --- Comment #3 from simon <s.d.hammett at googlemail.com> 2010-11-15
> > 11:03:49 PST --- Created an attachment (id=812)
> > PATCH against rev 755: implement a module import backtrace for static
> > assert
> > 
> > Implements a module import back-trace for static asserts.
> > 
> > This ought to be implemented for non-static asserts as well,
> > but that probably involves mucking about in the back end
> > and I can't be bothered diving into that at the mo.
> 
> Cool! In cases where it's imported from inside a static if, this is
> fantastic.
> Ideally, it would only do the module trace starting from the last
> instantiated template. (Which would mean that in many cases, it wouldn't
> appear at all). I think this should be applied to all template
> instantiation back traces.

I expect that you meant to post a comment to the bug rather than post on the bug 
list...

- Jonathan M Davis


More information about the Digitalmars-d-bugs mailing list