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>

Reply via email to