D2 dynamic array on Win32 exception

Gleb nsx.snx at gmail.com
Mon Feb 14 04:46:07 PST 2011


Hello,

void main()
{
	int[][5] a;
	a[0][0] = 1;
}

Compiling this code compiler (D 2.051, Win32) generates an error:
core.exception.RangeError at aaa(4): Range violation

With D v.1 it's all rigth. I guess it's a bug in D v.2


More information about the Digitalmars-d-bugs mailing list