Sven,<div><br></div><div>When you have the time could you look at issue #22019 titled "Cannot return generic derived class"? I think it's kind of a big issue because it prevents anyone from returning a subclass of a generic type. I just want to know that's you've read the bug report and see/understand the issue.</div>
<div><br></div><div>In a nutshell you currently cannot write something like:</div><div><br></div><div>function TList<T>.GetEnumerator: TEnumerator<T>;</div><div>begin</div><div> // TListEnumerator<T> inherits from TEnumerator<T></div>
<div> return TListEnumerator<T>.Create(Self);</div><div>end;</div><div><br></div><div>There are other examples, but I think the above and the details provided in the bug report should be enough to convey the problem.</div>
<div><br></div><div>Thanks Sven! We all very much appreciate your work!</div>