Or if you do val ind2D: Array<IntArray> = ar...
# getting-started
j
Or if you do val ind2D: Array<IntArray> = arrayOf(...) then it won't do the Object[] cast either. As it stands, however, I'm guessing the type-inference sees the array first.