dmd 1.069 and 2.054 release
Adam Ruppe
destructionator at gmail.com
Mon Jul 11 16:08:24 PDT 2011
Jonathan M Davis:
> If it gives you stack trace though, I guess that it would help,
> though it would certainly be ugly.
It's not too ugly at all, since it's a template stack trace - so in
a lot of cases, it isn't a very long list.
Regardless though, something is better than nothing.
> Fortunately, in the case of something like tolower, _every_
> function called
Indeed, though another one was repeat() with replicate(), which isn't
as simple without the compiler's help.
While a proper warning is surely better than a filthy hack, if it's
not coming, adding a versioned static assert is a low cost alternative
we can do immediately.
More information about the Digitalmars-d-announce
mailing list