Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/nullableUpperBound.fir.kt
T

9 lines
139 B
Kotlin
Vendored

package o
fun foo(): String? {
return accept(JV<String?, Unit?>())
}
fun <R, D> accept(v: JV<R, D>): R? = null
open class JV<R, D>()