jactl icon indicating copy to clipboard operation
jactl copied to clipboard

Add better compile time checking of literals for multidimensional arrays

Open jaccomoc opened this issue 1 year ago • 0 comments

At the moment this gives a runtime error:

int[][] x = [1]
io.jactl.runtime.RuntimeError: Cannot cast from int to int[] @ line 1, column 13
int[][] x = [1]
            ^

We should be able to detect this at compile time instead.

jaccomoc avatar Dec 17 '23 01:12 jaccomoc