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: bugzi...@digitalmars.com
        ReportedBy: clugd...@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


-- 

Reply via email to