VSoftTechnologies / Delphi-Mocks

A Open Source Mocking framework for Delphi XE2 or later
Apache License 2.0
229 stars 108 forks source link

Fix typos and compilation of the tests #105

Closed micha137 closed 4 years ago

vincentparrett commented 7 years ago

I will have to check, but I think there was an issue with a compiler bug on this, can't remember which compiler version but I remember going around in circles with this, get it working in one version, breaks another.

micha137 commented 7 years ago

OK. I can only speak for XE3, where the default parameter for the generic type works fine. Maybe some {$IFs} can help out here.

vincentparrett commented 4 years ago

Setting the default value to nil results in this error on XE2 (I think XE3 had this as well, don have xe 3/4/5/6 installed at the moment to test). [DCC Error] Delphi.Mocks.ObjectProxy.pas(49): E2086 Type 'TFunc' is not yet completely defined.

I cherry picked the spelling errors.