On 8/11/2010 1:09 PM, Walter Bright wrote:
dickl wrote:I should have been a little more clear, a static this() as a member of a class.Still works: -------------------------- H:\cbx>type test.d import std.stdio; void main() { printf("hello\n"); } class C { static this() { printf("betty\n"); } } H:\cbx>dmd test H:\cbx>test betty hello H:\cbx>
hmmm doesn't for me, but works just fine in the previous rev.
