static this sucks, we should deprecate it

Christopher Wright dhasenan at gmail.com
Fri May 29 04:29:47 PDT 2009


Christopher Wright wrote:
> The compiler could examine the symbols used in the static constructors 
> to build these dependency lists.

Eh, this would have to extend to every function, since static ctors can 
call functions. And these functions can be provided without 
implementations via a .di file. This is fail.



More information about the Digitalmars-d mailing list