Files
kotlin-fork/compiler/testData/diagnostics/tests/resolve/nestedCalls/kt7597.kt
T

9 lines
150 B
Kotlin
Vendored

// FIR_IDENTICAL
interface Inv<I>
fun <S, T: S> Inv<T>.reduce2(): S = null!!
fun test(a: Inv<Int>): Int {
val b = 1 + a.reduce2()
return b
}