Files
kotlin-fork/compiler/testData/diagnostics/tests/dataFlow/assignment/assignToNewVal.fir.kt
T

10 lines
134 B
Kotlin
Vendored

fun test(a: Any?) {
if (a == null) return
a.hashCode()
val b = a
b.hashCode()
val c: Any? = a
c.hashCode()
}