Files
kotlin-fork/compiler/testData/cfg-variables/lexicalScopes/tryScope.values
T
2014-06-03 18:17:07 +04:00

26 lines
1.1 KiB
Plaintext

== foo ==
fun foo() {
"before"
try {
foo()
}
catch (e: Exception) {
val a = e
}
finally {
val a = 1
}
"after"
}
---------------------
"before" <v0> NEW()
foo <v1> NEW()
foo() <v1> COPY
{ foo() } <v1> COPY
e <v3> NEW()
1 <v4> NEW()
try { foo() } catch (e: Exception) { val a = e } finally { val a = 1 } <v1> COPY
"after" <v5> NEW()
{ "before" try { foo() } catch (e: Exception) { val a = e } finally { val a = 1 } "after" } <v5> COPY
=====================