Files
kotlin-fork/compiler/testData/diagnostics/tests/nullabilityAndSmartCasts/kt2212.fir.kt
T

9 lines
158 B
Kotlin
Vendored

//KT-2212 Incomplete nullability information
package kt2212
fun main() {
val x: Int? = 1
if (x == null) return
System.out.println(x.plus(x!!))
}