| Thread overview | |||||
|---|---|---|---|---|---|
| 
 | 
| January 04, 2012[Issue 7226] New: Refused pure nothrow ctor syntax | ||||
|---|---|---|---|---|
| 
 | ||||
| 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 --- Comment #0 from bearophile_hugs@eml.cc 2012-01-04 14:16:06 PST --- 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: ------- | ||||
| January 16, 2013[Issue 7226] Refused pure nothrow ctor syntax | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=7226 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com --- Comment #1 from yebblies <yebblies@gmail.com> 2013-01-17 02:08:02 EST --- 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: ------- | |||
| January 16, 2013[Issue 7226] Refused pure nothrow ctor syntax | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=7226 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from yebblies <yebblies@gmail.com> 2013-01-17 02:37:10 EST --- *** 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: ------- | |||
Copyright © 1999-2021 by the D Language Foundation
  Permalink
Permalink Reply
Reply