digitalmars.D.bugs - [Issue 7226] New: Refused pure nothrow ctor syntax
- d-bugmail puremagic.com (33/33) Jan 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7226
- d-bugmail puremagic.com (10/10) Jan 16 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7226
- d-bugmail puremagic.com (11/11) Jan 16 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7226
http://d.puremagic.com/issues/show_bug.cgi?id=7226 Summary: Refused pure nothrow ctor syntax Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc I think this is a parser issue: struct Foo { static this() pure nothrow {} } void main() {} DMD 2.058head gives: test.d(2): semicolon expected following function declaration - - - - - - - - - - - - - - A different case: struct Foo { static pure this() {} } void main() {} DMD 2.058head gives: test.d(2): Error: constructor test.Foo.this default constructor for structs only allowed with disable and no body -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 04 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7226 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com Basically the same thing as issue 6415, also applies to unittests -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 16 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7226 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 6677 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 16 2013