Files
kotlin-fork/js/js.translator/testData/lineNumbers/closure.kt
T
Alexey Andreev b70c52e41f Fix JS source maps for optional arguments
Also, when function has expression body, use expression instead
of function declaration to mark return statement.
2017-06-07 11:13:46 +03:00

8 lines
126 B
Kotlin
Vendored

fun box(x: Int, y: Int): Int {
fun foo(
z: Int) =
x + z
return foo(y)
}
// LINES: 2 4 2 5