static this sucks, we should deprecate it

Tim Matthews tim.matthews7 at
Fri May 29 08:52:44 PDT 2009

Walter Bright wrote:

> It's unreliable because how do you specify the load order? And how does 
> the user relate that to the source semantics?

grauzone suggested this earlier:

static this {} //full dependencies (all import statements)
static this : a, b {} //only dependent from module a and b
static this : void {} //no dependencies at all

More information about the Digitalmars-d mailing list