www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6677] New: static this attributes position

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs 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: -------
Sep 15 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6677



--- Comment #1 from yebblies <yebblies gmail.com> 2013-01-17 02:37:10 EST ---
*** Issue 7226 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 16 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6677


Henning Pohl <henning still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |henning still-hidden.de


--- Comment #2 from Henning Pohl <henning still-hidden.de> 2013-08-09 04:56:10
PDT ---
https://github.com/D-Programming-Language/dmd/pull/2459

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