--- Comment #7 from 2012-01-26 17:44:20 PST ---
There's nothing technically wrong with it, but it's misleading. When you write:

class A {
    int x;
    this(int) { ... }

    static {
        int y;
        this(uint) { ... }

It appears as though the second ctor is somehow "static" in some sense, yet it
is not, as the current semantics mean that you can hoist it out of the static
block and still retain the same meaning. Since that's the case, why not
prohibit it from being placed in a static block in the first place?

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to