9cb19d17b0
Package classes in line number tests only contain "1" as the first line number of a single function, so there's no point in testing it. The test was failing due to the latest changes in the order of generation of classfiles (first $src, then facade)
16 lines
237 B
Kotlin
16 lines
237 B
Kotlin
fun foo(x: Int) {
|
|
when {
|
|
x == 21 -> foo(x)
|
|
x == 42 -> foo(x)
|
|
else -> foo(x)
|
|
}
|
|
|
|
val t = when {
|
|
x == 21 -> foo(x)
|
|
x == 42 -> foo(x)
|
|
else -> foo(x)
|
|
}
|
|
}
|
|
|
|
// 3 4 5 9 10 11 8
|