[fpc-devel] [] property overloads

Ryan Joseph genericptr at gmail.com
Sat Jul 6 18:06:52 CEST 2019


Sorry to ask again but has it been decided that this code should *not* be allowed for ObjFPC mode? I’ll file a bug report right now if so. It will break existing code but when my patch gets applied it can be added back using proper properties.

      function GetValue(k0: variant): TJSON; overload;
      function GetValue(k0,k1: variant): TJSON; overload;
      function GetValue(k0,k1,k2: variant): TJSON; overload;
      function GetValue(k0,k1,k2,k3: variant): TJSON; overload;
      property Values[key: variant]: TJSON read GetValue; default;


Regards,
	Ryan Joseph



More information about the fpc-devel mailing list