Re: [fpc-pascal] Generics - extending TFPGObjectList

2018-07-26 Thread Sven Barth via fpc-pascal
Vojtěch Čihák schrieb am Do., 26. Juli 2018, 13:40: > Thanks for reply. > > > > Ad 2) I opened issue: https://bugs.freepascal.org/view.php?id=34037 > > > > Ad 1) Are there any plans for improvement of generic inheritance? Related > to my example, instead of > > > > generic TFPGObjectListEx =

Re: [fpc-pascal] Generics - extending TFPGObjectList

2018-07-26 Thread Vojtěch Čihák
via fpc-pascal Komu: fpc-pascal@lists.freepascal.org Datum: 26.07.2018 07:04 Předmět: Re: [fpc-pascal] Generics - extending TFPGObjectList Am 26.07.2018 um 02:31 schrieb Vojtěch Čihák:Hello,   I needed to extend TFPGObjectList and I found two wierd things (FPC 3.1.1 r39507):   program project1

Re: [fpc-pascal] Generics - extending TFPGObjectList

2018-07-25 Thread Sven Barth via fpc-pascal
Am 26.07.2018 um 02:31 schrieb Vojtěch Čihák: Hello, I needed to extend TFPGObjectList and I found two wierd things (FPC 3.1.1 r39507): program project1; {$mode objfpc}{$H+} uses   Classes, FGL; type   TBaseClass = class (TObject)   end;   TIDClass = class (TBaseClass)     ID: Intege

[fpc-pascal] Generics - extending TFPGObjectList

2018-07-25 Thread Vojtěch Čihák
Hello,   I needed to extend TFPGObjectList and I found two wierd things (FPC 3.1.1 r39507):   program project1; {$mode objfpc}{$H+}   uses   Classes, FGL;   type   TBaseClass = class (TObject)   end;     TIDClass = class (TBaseClass)     ID: Integer;   end;     TNameIDClass = class (TIDClass)