Thread overview
[Issue 3545] New: abstract keyword inside function causes error
Nov 23, 2009
Adam Chrapkowski
Jun 11, 2013
Henning Pohl
Jun 11, 2013
Andrej Mitrovic
November 23, 2009
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: -------
June 11, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=3545


Henning Pohl <henning@still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |henning@still-hidden.de
         Resolution|                            |FIXED


--- Comment #1 from Henning Pohl <henning@still-hidden.de> 2013-06-10 17:01:09 PDT ---
Works with 2.063.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 11, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=3545


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|FIXED                       |


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-10 17:10:43 PDT ---
(In reply to comment #1)
> Works with 2.063.

Please note this is a D1 issue.

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