January 27, 2007 [Issue 894] New: base class with implemented abstract method problem | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=894 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 http://dstress.kuehne.cn/nocompile/a/abstract_15.d 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 functionality.' -- |
February 12, 2007 [Issue 894] base class with implemented abstract method problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=894 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2007-02-12 03:42 ------- Fixed DMD 1.005 -- |
Copyright © 1999-2021 by the D Language Foundation