Try-catch-finally statements & correct line numbers

This commit is contained in:
Alexander Udalov
2012-11-22 17:35:30 +04:00
parent ca587513e3
commit 0f496eac21
8 changed files with 113 additions and 10 deletions
@@ -0,0 +1,23 @@
fun z() {}
fun foo() {
try {
z()
} catch (e: Exception) {
z()
}
try {
z()
} finally {
z()
}
try {
z()
} catch (e: Exception) {
z()
} finally {
z()
}
}