Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The following code
int[][] arr2 = new int[1][] arr2[0] = [1,2]
is supported by the static compiler as well as primopts. Normal caching tends to have a ArrayStoreException here. Imho this should be supported, since groovy supports for example int[] x = [1,2] too. arr2[0] is in that respect like x an array under initialization.