7ec4c9990a
- Add tests to clarify problematic behavior - Avoid line numbers on return instructions of lambdas without explicit returns
16 lines
192 B
Kotlin
Vendored
16 lines
192 B
Kotlin
Vendored
|
|
// FILE: test.kt
|
|
fun box(): String {
|
|
run { "O" + "K" }
|
|
run {
|
|
"O" + "K"
|
|
}
|
|
return "OK"
|
|
}
|
|
|
|
// LINENUMBERS
|
|
// test.kt:4
|
|
// test.kt:5
|
|
// test.kt:6
|
|
// test.kt:5
|
|
// test.kt:8 |