backend: add tests for try-catch-finally and throwing exceptions
also add some tests for bugs with unreachable code handling and variables
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
var b = true
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
var x = 1
|
||||
if (b) {
|
||||
var x = 2
|
||||
}
|
||||
println(x)
|
||||
}
|
||||
Reference in New Issue
Block a user