Re: [fpc-pascal] Generic syntax that compiles with FPC 2.4.4 but not with FPC 2.6.0-0.rc1

2011-11-23 Thread Juha Manninen
2011/11/24 Jonas Maebe > The syntax is now: > > type > generic TGen<_T> = class >public type > T_TArray = array of _T; >private var > w: T_TArray; > public > constructor Create(Value: _T); > end; > > TSpecial = specialize TGen; > > I.e., type, var etc are now inside pub

Re: [fpc-pascal] Generic syntax that compiles with FPC 2.4.4 but not with FPC 2.6.0-0.rc1

2011-11-23 Thread Jonas Maebe
On 23 Nov 2011, at 23:01, Juha Manninen wrote: > The following does not compile any more with FPC 2.6.0-0.rc1. > --- > generic TGen<_T> = class >type public > T_TArray = array of _T; >var private > w: T_TArray; >public > constructor Create(Value: _T); > end; > > TSp

[fpc-pascal] Generic syntax that compiles with FPC 2.4.4 but not with FPC 2.6.0-0.rc1

2011-11-23 Thread Juha Manninen
Regarding this issue: http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=20713 The following does not compile any more with FPC 2.6.0-0.rc1. --- generic TGen<_T> = class type public T_TArray = array of _T; var private w: T_TArray; public constructor Creat