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

           Summary: static this attributes position
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-09-15 12:54:14 PDT ---
static this() pure nothrow @safe {}
void main() {}


DMD 2.055 gives:
test.d(1): semicolon expected following function declaration



While this compiles:

pure nothrow @safe static this() {}
void main() {}

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

Reply via email to