Files
kotlin-fork/compiler/testData/ir/sourceRanges/kt63779.kt
T
Ivan Kylchik a56bebe44e [FIR2IR] Set correct endOffset for the IrBranch
We want to use end offset of branch's result as the end for the whole
branch, not just the end of its condition.

#KT-63779 Fixed
2024-01-18 10:59:01 +00:00

8 lines
114 B
Kotlin
Vendored

// FIR_IDENTICAL
fun topLevelMethod(x: Int, y: Int) {
if(x > y) {
} else if(x < y) {
} else {
}
}