[fpc-devel] Strange dot allowed in array?

Martin Frb lazarus at mfriebe.de
Wed Apr 9 05:30:32 CEST 2014


Just seen  http://forum.lazarus.freepascal.org/index.php?topic=24191

trunk (2 or 3 weeks old) indeed compiles the below.

Looking at the SetLength line: Why does it allow the "." ?


program Project1;
type
   T1 = array of integer;
   T2 = array of T1;
   T3 = array of T2;
var
a: T3;
begin
   SetLength(a[0].[0],1);
end.




More information about the fpc-devel mailing list