import std.stdio; class Foo { static int foo = 42; static this() { writefln("static constructor"); foo = 128; } } int main() { writefln("main: %s", Foo.foo); return 0; } will print "main: 42" Static constructor never called. (Same code works as expected on normal Leopard, this has only been seen on Snow Leopard)
Verified as fixed against DMD 2.046. I'll look at DMD1x as well to be sure.