http://d.puremagic.com/issues/show_bug.cgi?id=7754
Summary: static this() in template is stripped during header gen Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@dawgfoto.de --- Comment #0 from d...@dawgfoto.de 2012-03-23 09:29:21 PDT --- cat > bug.d << CODE struct Foo(T) { shared static this() { } static this() { } } CODE dmd -c -o- -H bug.d cat bug.di // D import file generated from 'bug.d' template Foo(T) { struct Foo { shared static this(); static this(); } } -------- Thus the static constructors are not run. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------