[fpc-devel] issue with trunk and dyn array
    Martin 
    lazarus at mfriebe.de
       
    Thu May 16 17:43:17 CEST 2013
    
    
  
using rev 24475 the below fails. It works using 2.6.0
Afaik it should work? dynamic types (such as TDynIntArray ) should be 
initialized?
Checking in the debugger it looks like VarStatIntArray2A[5] is not 
initialized.
program Project1;
type
   TDynIntArray = Array of Integer;
procedure Foo;
var
   VarStatIntArray2A: Array [5..9] of TDynIntArray;
begin
   SetLength(VarStatIntArray2A[5],3);
end;
begin
   Foo;
end.
    
    
More information about the fpc-devel
mailing list