[fpc-pascal] CodeTools complete code

Hairy Pixels genericptr at gmail.com
Wed Oct 5 08:33:09 CEST 2022


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



More information about the fpc-pascal mailing list