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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to