On Thu, 27 Feb 2014, luiz americo pereira camara wrote:
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?
By design.
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel