Files

8 lines
126 B
Kotlin
Vendored

// FIR_IDENTICAL
// KT-630 Bad type inference
fun <T : Any> T?.sure() : T = this!!
val x = "lala".sure()
val s : String = x