null references redux + Looney Tunes

Nick Sabalausky a at a.a
Mon Oct 5 05:19:46 PDT 2009


"language_fan" <foo at bar.com.invalid> wrote in message 
news:hacm6o$2en$2 at digitalmars.com...
> Mon, 05 Oct 2009 11:41:52 +0000, language_fan wrote:
>>
>> There have been several existing implementations of SI unit libraries
>> for D. By Oskar Linde et al. The checking can be built statically
>> without any runtime performance penalty.
>
> The only problem with these was that there was no way to signal the
> location of the type error in the client code, it always reported the
> location of the (static) assert in the library, which is pretty much
> useless.

Yea, that's been a problem for a *lot* of stuff... Although I think it might 
be fixed now... I could swear there was a patch on bugzilla for that that I 
had grabbed and made a custom-build of DMD with, and then saw that a newer 
version of DMD had incorporated it... But in my current sleepless stupor I 
might be confusing it with something else... 





More information about the Digitalmars-d mailing list