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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to