46b98a1e98
- 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
22 lines
339 B
Kotlin
Vendored
22 lines
339 B
Kotlin
Vendored
fun box() {
|
|
try {
|
|
println("foo")
|
|
}
|
|
catch (e: RuntimeException) {
|
|
println("bar")
|
|
}
|
|
catch (e: Exception) {
|
|
println("baz")
|
|
}
|
|
}
|
|
|
|
fun bar() {
|
|
try {
|
|
println("foo")
|
|
}
|
|
catch (e: dynamic) {
|
|
println("bar")
|
|
}
|
|
}
|
|
|
|
// LINES: 1 11 3 3 5 5 6 6 8 8 9 9 2 2 * 13 20 15 15 18 18 |