Static constructor call ordering in imported modules

Walter Bright newshound2 at digitalmars.com
Sun Aug 8 14:13:02 PDT 2010


Andrej Mitrovic wrote:
> But, according to TDPL, page 189, it states:
> 
> "MA imports MB. Then A's static class constructors run before B's"

TDPL appears to be incorrect. The compiler is correct.


More information about the Digitalmars-d mailing list