<div dir="ltr"><div><div>Hello,<br><br></div>I have tried to compile some delphi projects using the latest FPC (3.0.0) release, and i got several <span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">errors related to </span>G<span>generics feature. Reading the FPC documentation (section 8.8 - A Word About Scope) i have found that FPC requires that all external types and procedures used in the the Generic type implementation must be visible when the Generic type is specialized.<br></span></span><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-"><br>It is intended to</span> <span class="gmail-">change such</span> <span class="gmail-">compiler</span> <span class="gmail-">behavior in the future</span><span class="gmail-">?</span></span><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"></span></span> It is incompatible with Delphi and moreover it force us to break the encapsulation of the Generic types.<br><br></div>Best regards<br></div>