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


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_h...@eml.cc


--- Comment #5 from bearophile_h...@eml.cc 2012-01-26 13:41:06 PST ---
(In reply to comment #3)
> Not a bug. Spec sez:
> 
> "The static in the static constructor declaration is not an attribute, it must
> appear immediately before the this"

Then is it better for the compiler to give an compile-time error for code like
this? Is this material for a diagnostic enhancement request?


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

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

Reply via email to