Files
2024-02-15 13:08:36 +00:00

15 lines
264 B
Kotlin
Vendored

// FIR_IDENTICAL
// ISSUE: KT-55446
val Any?.tt: String
get() = ""
open class Base<in T>(t: T) {
private val tt = t.also { foo(null!!) }
fun foo(a: Derived<String>) = run {
val x: String = a.tt
}
}
class Derived<in T>(t: T) : Base<T>(t)