I'm writing on Haxe and targeting Neko. Today I've encountered this problem:
var a:Array<Array<Int>> = new Array<Array<Int>>();
a[1] = [1, 2, 3];
The second line throws "Invalid array access" exception. Also it's impossible to iterate on row like this:
for (i in a[0]) ...
A code like that always worked ok, but not the today one. What could be the problem here? The cells and rows I'm trying to access are guaranteed to exist (if talking about indexes).