Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/NoInferenceFromDeclaredBounds.jet
T

10 lines
127 B
Plaintext

fun fooT22<T>() : T? {
return null
}
fun foo1() {
<!TYPE_INFERENCE_FAILED!>fooT22()<!>
}
val n : Nothing = null.sure()