www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3545] New: abstract keyword inside function causes error

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

           Summary: abstract keyword inside function causes error
           Product: D
           Version: 1.050
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: adam.chrapkowski gmail.com


--- Comment #0 from Adam Chrapkowski <adam.chrapkowski gmail.com> 2009-11-23
11:58:56 PST ---
When a class is located inside function and its declaration starts from
abstract keyword then occurs compilation error. For example:

void func(){

  // found 'abstract' instead of statement
  abstract final class A{
  }

  // ok
  final abstract class A{
  }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 23 2009