<div dir="auto"><div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Thomas Kurz via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Do., 27. Nov. 2025, 11:33:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Both ChatGPT and Gemini agree that this won't work because FPC resolves Create in this order:<br>
1. Look at the real class (TStringList) for a matching constructor.<br>
2. Only if no such method exists, check helpers in scope for a matching name.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">What about asking real people from the beginning instead of stochastic parrots?</div><div dir="auto">Declaring constructors in helpers is indeed supported. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>