Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/regression/kt10001.fir.kt
T

10 lines
199 B
Kotlin
Vendored

fun foo1(p: Pair<Int?, Int>): Int {
if (p.first != null) return p.first!!
return p.second
}
fun foo2(p: Pair<Int?, Int>): Int {
if (p.first != null) return p.first
return p.second
}