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

26 lines
846 B
Plaintext

== doSomething ==
fun Any?.doSomething() {}
---------------------
=====================
== bar ==
fun bar(): Nothing = throw Exception()
---------------------
Exception <v0> NEW()
Exception() <v0> COPY
=====================
== foo ==
fun foo() {
null!!.doSomething()
bar().doSomething
}
---------------------
null <v0> NEW()
null!! <v1> NEW(<v0>)
doSomething <v2> NEW(<v1>)
doSomething() <v2> COPY
null!!.doSomething() <v2> COPY
doSomething <v3> NEW()
bar().doSomething <v3> COPY
{ null!!.doSomething() bar().doSomething } <v3> COPY
=====================