a56bebe44e
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
6 lines
121 B
Kotlin
Vendored
6 lines
121 B
Kotlin
Vendored
// In this test K2 behaviour is preferable.
|
|
fun topLevelMethod() {
|
|
var z = 3
|
|
if(true) { z = 4 } else { z = 5 }
|
|
}
|