[Lazarus] Check if an abstract method is implemented or not
nc-gaertnma at netcologne.de
Thu Jan 24 14:25:29 CET 2013
Xiangrong Fang <xrfang at gmail.com> hat am 24. Januar 2013 um 14:03 geschrieben:
> This is a clean solution. And as a matter of fact, the compiler does NOT warn
> me while instantiate class with abstract method.
Normally the compiler warns for each abstract method. For example, this creates
If not then please create a bug report.
> This is different than Java, in which you must implement all abstract method
> while inherits from an abstract class.
> Why I shall not instantiate a sub-class that has not fully implemented
> abstract methods of its parent class?
Well, you can shoot yourself in the foot. ;)
More information about the Lazarus