<div dir="ltr"><div>Hi again,</div><div><br></div><div>FPC has problems with examples attached with <a href="http://bugs.freepascal.org/view.php?id=25607">http://bugs.freepascal.org/view.php?id=25607</a> . The bug is caused by improper "calculation of distance" for methods with default parameter (methods with default parameter are ignored for few scenarios so compiler can't determine). </div><div>During my detailed research I discovered that Delphi implementation has small bug (VMT is ignored for scenario E01 and E03 which is totally improper). </div><div><br></div><div>I have made patch for this bug attached to #25607 : <a href="http://bugs.freepascal.org/file_download.php?file_id=25047&type=bug">http://bugs.freepascal.org/file_download.php?file_id=25047&type=bug</a></div><div><br></div><div>FPC black list details:</div><div><br></div><div>E01 source: <a href="https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e01-pas">https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e01-pas</a></div><div>{E01 Delphi | FPC with calc_distance }</div><div>TA.Create | TB.Create</div><div>TB.Create | TB.Create</div><div>TB.Create | TB.Create</div><div><br></div><div>E02 source: <a href="https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e02-pas">https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e02-pas</a></div><div>{E02 Delphi | FPC with calc_distance }</div><div>TA.Create | TA.Create</div><div>TA.Create | TA.Create</div><div>TA.Create | TA.Create</div><div><br></div><div>E03 source: <a href="https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e03-pas">https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e03-pas</a></div><div>{E03 Delphi | FPC with calc_distance }</div><div>TA.Foo | TB.Foo</div><div>TB.Foo | TB.Foo</div><div>TB.Foo | TB.Foo</div><div><br></div><div>E04 source: <a href="https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e04-pas">https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e04-pas</a></div><div>{E04 Delphi | FPC with calc_distance }</div><div>TA.Foo | TA.Foo</div><div>TA.Foo | TA.Foo</div><div>TA.Foo | TA.Foo</div><div><br></div><div>E05 source: <a href="https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e05-pas">https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e05-pas</a></div><div>{E05 Delphi | FPC with calc_distance }</div><div>TB.Foo | TB.Foo</div><div><br></div><div>E06 source: <a href="https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e06-pas">https://gist.github.com/maciej-izak/f312ff683406e2b16003ee67ee1a95d1#file-e06-pas</a></div><div>{E06 Delphi | FPC with calc_distance }</div><div>TA.Foo | TA.Foo</div><div>-- <br></div><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div>