Am 08.01.2013 13:29, schrieb Paul Ishenin:
Abstract class feature is implemented the same way as it is done in
delphi. In delphi it does not raise any error, so it works in FPC. The
only limitation is that you can't both set sealed and abstract for the
same class.
Maybe later delphi will come with some extra checks for abstract classes
and then FPC will follow.
Hm, and how about a pioneer solution?
For example a compiler error in {$MODE ObjFpc} and the actual behaviour
in {$MODE Delphi}. That would not break compatibility, but gets a nice
feature for FPC.
Michael
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal