mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
In this commit I moved IGNORE_BACKEND_FIR to the end or deleted it when it was applicable, to preserve correct line numbers
36 lines
448 B
Kotlin
Vendored
36 lines
448 B
Kotlin
Vendored
fun cond() = false
|
|
|
|
fun bar() {}
|
|
|
|
fun foo() {
|
|
if (cond()) {
|
|
bar()
|
|
} else if (true) {
|
|
bar()
|
|
} else {
|
|
bar()
|
|
}
|
|
|
|
if (false) {
|
|
bar()
|
|
} else if (true) {
|
|
bar()
|
|
} else {
|
|
bar()
|
|
}
|
|
|
|
if (true) {
|
|
bar()
|
|
} else if (false) {
|
|
bar()
|
|
} else {
|
|
bar()
|
|
}
|
|
}
|
|
|
|
// 1 LINENUMBER 6
|
|
// 1 LINENUMBER 8
|
|
// 1 LINENUMBER 14
|
|
// 1 LINENUMBER 16
|
|
// 1 LINENUMBER 22
|