Re: [fpc-pascal] Nested generic parameters

2014-02-05 Thread Constantine Yannakopoulos
On Tue, Feb 4, 2014 at 2:47 PM, Sven Barth pascaldra...@googlemail.comwrote: Please report as a bug, so that it is not forgotten (and attach a simple example that compiles in Delphi). Done: http://bugs.freepascal.org/view.php?id=25678 Thanks again. --Constantine

[fpc-pascal] Nested generic parameters

2014-02-04 Thread Constantine Yannakopoulos
Hello again, Can I use a defined generic type parameter inside a constraint of the same generic declaration on FPC trunk code? Something like: {$mode Delphi} type TFooT = class end; TGenericT, U: TFooT = class end; This compiles in Delphi XE or later but in FPC it gives the error

Re: [fpc-pascal] Nested generic parameters

2014-02-04 Thread Sven Barth
Am 04.02.2014 11:48, schrieb Constantine Yannakopoulos: Hello again, Can I use a defined generic type parameter inside a constraint of the same generic declaration on FPC trunk code? Something like: {$mode Delphi} type TFooT = class end; TGenericT, U: TFooT = class end; This