onryldz / x-superobject

Delphi Cross Platform Rapid JSON
316 stars 118 forks source link

Delphi 10 [DCC Error] XSuperJSON.pas(2097): E2035 Not enough actual parameters #74

Closed vkrapotkin closed 9 years ago

vkrapotkin commented 9 years ago

class destructor TJSONDateManager.Destroy; var I: Integer; begin if Assigned(FFormats) then begin for I := 0 to FFormats.Count - 1 do FFormats[I]._Release; // error pointer is here before '.Release' FFormats.Free; end; end;

onryldz commented 9 years ago

This issue is resolved. Please get the latest commit 1fa2028a335f8112b2bdb84a9c1888908d8e7dc4.

vkrapotkin commented 9 years ago

Oh! Very attractive! Thanks a lot!

djjd47130 commented 6 years ago

I have this error even with the latest source. Precisely the same thing. EDIT Somehow, Delphi had something cached, so although I updated, it was looking at my old set of files.

michaelpz commented 6 years ago

I tested final version on Delphi 10 and we don't have any problem. maybe you have conflict with other libraries and definitions