Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 13, 2010 [Issue 4640] New: nothrow before nested function signature doesn't compile | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4640 Summary: nothrow before nested function signature doesn't compile Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bugzilla@kyllingen.net --- Comment #0 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-08-13 03:07:39 PDT --- This doesn't compile: nothrow void foo() { nothrow void bar() { } bar(); } test.d(1): Error: function test.foo 'foo' is nothrow yet may throw Moving 'nothrow' to the other side of the nested function's signature works: nothrow void foo() { void bar() nothrow { } bar(); } Could be related to bug 3924, but I don't think this case is covered there. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 27, 2010 [Issue 4640] nothrow before nested function signature doesn't compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars T. Kyllingstad | http://d.puremagic.com/issues/show_bug.cgi?id=4640 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #1 from bearophile_hugs@eml.cc 2010-10-27 03:59:48 PDT --- See bug 5006 for a similar problem with pure tag. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 21, 2011 [Issue 4640] nothrow before nested function signature doesn't compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars T. Kyllingstad | http://d.puremagic.com/issues/show_bug.cgi?id=4640 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kennytm@gmail.com --- Comment #2 from kennytm@gmail.com 2011-02-21 11:39:31 PST --- Looks like it is fixed in v2.052. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 21, 2011 [Issue 4640] nothrow before nested function signature doesn't compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars T. Kyllingstad | http://d.puremagic.com/issues/show_bug.cgi?id=4640 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- 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