// ISSUE: KT-54764 data class Out(val prop: T) fun foo(b: Out<*>) { b.copy("") // error in K1, OK in K2 } fun foo(a: Any) { if (a is Out<*>) { a.copy("") } }