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: nob...@puremagic.com ReportedBy: bugzi...@kyllingen.net --- Comment #0 from Lars T. Kyllingstad <bugzi...@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: -------