dmd 1.063 and 2.048 release

Walter Bright newshound2 at digitalmars.com
Wed Aug 11 09:04:36 PDT 2010


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>


More information about the Digitalmars-d-announce mailing list