www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 894] New: base class with implemented abstract method problem

reply d-bugmail puremagic.com writes:

           Summary: base class with implemented abstract method problem
           Product: D
           Version: 1.00
          Platform: PC
               URL: http://dstress.kuehne.cn/nocompile/a/abstract_15.d
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: braddr puremagic.com


When a base class has an abstract method with an implementation, derived
classes are still supposed to be required to override those methods according
to the spec:

Abstract Attribute

... snip ...

Functions declared as abstract can still have function bodies. This is so that
even though they must be overridden, they can still provide 'base class

Jan 26 2007
parent d-bugmail puremagic.com writes:

bugzilla digitalmars.com changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

Fixed DMD 1.005

Feb 12 2007