// !CHECK_TYPE data class A(val x: Int, val y: String) fun foo(arr: Array) { for ((b, c) in arr) { checkSubtype(b) checkSubtype(c) } }