Remove variables with empty ranges from local vars table

As their ranges may intersect after dead code elimination that leads to VerifyError
This commit is contained in:
Denis Zharkov
2015-06-03 15:02:54 +03:00
parent 310babefdf
commit 9802931a90
9 changed files with 54 additions and 2 deletions
@@ -0,0 +1,13 @@
fun box(): String {
try {
return "OK"
if (1 == 1) {
val z = 2
}
if (3 == 3) {
val z = 4
}
} finally {
}
}