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