Fix JS source maps for catch blocks

This commit is contained in:
Alexey Andreev
2017-05-11 19:59:11 +03:00
parent 6ad991adfb
commit 82d37c0d57
3 changed files with 32 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
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: 3 5 6 8 9 * 15 18