26 lines
846 B
Plaintext
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
|
|
=====================
|