// "Change to val" "true" fun foo(p: Int) { var (v1, v2) = getPair()!! v1 } fun getPair(): Pair? = null data class Pair(val a: T1, val b: T2)