[Issue 6677] New: static this attributes position
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 15 12:54:35 PDT 2011
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 at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at 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: -------
More information about the Digitalmars-d-bugs
mailing list