// !CHECK_TYPE fun foo1(a: Int?, b: Array>) { b[a!!][a!!] = a checkSubtype(a) } fun foo2(a: Int?, b: Array>) { b[0][a!!] = a checkSubtype(a) }