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

11 lines
157 B
Kotlin
Vendored

// FIR_IDENTICAL
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>()