[Issue 2946] Make 'abstract' mandatory if the class is intended to be abstract
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 6 14:42:31 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2946
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
Severity|normal |enhancement
Keywords|accepts-invalid |diagnostic, spec
------- Comment #2 from smjg at iname.com 2009-05-06 16:42 -------
http://www.digitalmars.com/d/2.0/attribute.html#abstract (and similarly 1.0)
"Classes become abstract if they are defined within an abstract attribute, or
if any of the virtual member functions within it are declared as abstract."
The compiler is behaving correctly, therefore this is an enhancement request.
--
More information about the Digitalmars-d-bugs
mailing list