Testing now and I found a potential bug in CodeTools. With this code here:

  Request := specialize TLSPStreaming<TCommandParams>.ToJSON(Params);

I get the error "illegal qualifier . found" @ 146:53.

Does CodeTools not understand generic class function calls? Here is the class 
in question:

  generic TLSPStreaming<T: TPersistent> = class
    class function ToObject(const JSON: TJSONData): T; static;
  end;

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to