[Issue 5868] static attribute ignored with public static {} blocks

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 26 12:35:33 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5868



--- Comment #4 from hsteoh at quickfur.ath.cx 2012-01-26 12:35:32 PST ---
So the right syntax is:

class A {
    static {
        ...
        static this() { ... }
        ...
    }
}

?

Or alternatively

class A {
    static { ... }
    static this() { ... }
}

?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list