Files
kotlin-fork/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.fir.kt.txt
T
Vladimir Sukharev bae8b283c7 [IR] Normalize temp var names in Kotlin-like dump
^KT-61983 Fixed
2023-10-11 07:49:35 +00:00

15 lines
244 B
Kotlin
Vendored

operator fun J?.component1(): Int {
return 1
}
private operator fun J.component2(): Int {
return 2
}
fun test() {
val tmp_0: @FlexibleNullability J? = j()
val a: Int = tmp_0.component1()
val b: Int = tmp_0 /*!! J */.component2()
}