Files
2019-12-20 11:17:47 +03:00

9 lines
237 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
class Inv<T>
fun <R : Any> Inv<Int>.mapNotNull(transform: (Int) -> R?): Inv<R> = null!!
fun test(inv: Inv<Int>) {
<!DEBUG_INFO_EXPRESSION_TYPE("Inv<kotlin.Nothing>")!>inv.mapNotNull { null }<!>
}