[fpc-devel] Class property and virtual getter
luiz americo pereira camara
luizmed at oi.com.br
Thu Feb 27 04:36:45 CET 2014
TSimpleModel = class(TPersistent)
protected
class function GetResourceClient: IResourceClient; virtual;
class property ResourceClient: IResourceClient read GetResourceClient;
public
end;
Trying to compile the above code i get the following error:
Error: Illegal symbol for property access
Changing the GetResourceClient method from virtual to static works
Is this a bug or by design?
Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140227/e5ba4e5d/attachment.html>
More information about the fpc-devel
mailing list