[Issue 2808] New: 'nothrow' nested functions cannot be parsed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 6 06:10:21 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2808

           Summary: 'nothrow' nested functions cannot be parsed
           Product: D
           Version: 2.027
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clugdbug at yahoo.com.au


nothrow void foo(){
   void bar1() nothrow {} // ok
   nothrow void bar2() {} // fails
   bar1();
}
---
bug.d(3): found 'nothrow' instead of statement
bug.d(4): no identifier for declarator bar1
bug.d(5): unrecognized declaration


-- 



More information about the Digitalmars-d-bugs mailing list