object Test extends dotty.runtime.LegacyApp { val v1: Array[Array[Int]] = Array(Array(1, 2), Array(3, 4)) def f[T](w: Array[Array[T]]): Unit = { for (r <- w) println(r.deep.toString) } f(v1) }