On 8/11/2010 12:04 PM, Walter Bright wrote:
dickl wrote:static this() does not seem to be getting called, at least in D2.Works for me: ------------------------------- H:\cbx>type test.d import std.stdio; void main() { printf("hello\n"); } static this() { printf("betty\n"); } H:\cbx>dmd test H:\cbx>test betty hello H:\cbx>
I should have been a little more clear, a static this() as a member of a class.
