[fpc-pascal] open array and 2.1.1
Joao Morais
post at joaomorais.com.br
Wed Feb 21 00:02:39 CET 2007
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 because of the nil argument.
Known problem? Something that was changed?
Thanks,
--
Joao Morais
More information about the fpc-pascal
mailing list