Re: [fpc-pascal] open array and 2.1.1

2007-02-21 Thread Joao Morais
Jonas Maebe wrote: compiles under 2.0.4 but fails under 2.1.1 (rev 6583), the compiler think that I have an array of const because of the nil argument. Known problem? Something that was changed? Please file a bug report. Done, #8371. -- Joao Morais

Re: [fpc-pascal] open array and 2.1.1

2007-02-21 Thread Jonas Maebe
On 21 feb 2007, at 00:02, Joao Morais wrote: compiles under 2.0.4 but fails under 2.1.1 (rev 6583), the compiler think that I have an array of const because of the nil argument. Known problem? Something that was changed? Please file a bug report. Jonas ___

[fpc-pascal] open array and 2.1.1

2007-02-20 Thread Joao Morais
Hello, the following code: program testarray; uses classes; procedure testparam(aarray: array of tclass); begin end; begin testparam([nil, tlist, tstringlist]); end. compiles under 2.0.4 but fails under 2.1.1 (rev 6583), the compiler think that I have an array of const becaus