Files
kotlin-fork/js/js.translator/testData/lineNumbers/inlineArguments.kt
T
Roman Artemev 46b98a1e98 [JS BE] Make sourceMap generation more precise
- Don't produce mapping for closing bracket in case of expressionBody
 - Map Kt*Function declaration into corresponding js fun declaration
 - Update test data & add new test
2019-07-24 18:56:40 +03:00

14 lines
169 B
Kotlin
Vendored

var log = ""
fun box() {
foo(bar())
}
inline fun foo(x: Int) {
log += x
log += x
}
fun bar() = 23
// LINES: 3 5 4 4 8 8 9 9 7 10 8 8 9 9 12 12 12 * 1 * 1