Files
kotlin-fork/compiler/testData/cfg/arrays/arrayIncUnresolved.instructions
T
2021-03-16 12:25:23 +03:00

36 lines
745 B
Plaintext
Vendored

== A ==
class A
---------------------
L0:
1 <START>
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
== foo ==
fun foo(a: A) {
a[0]++
}
---------------------
L0:
1 <START>
v(a: A)
magic[FAKE_INITIALIZER](a: A) -> <v0>
w(a|<v0>)
2 mark({ a[0]++ })
mark(a[0])
r(a) -> <v1>
r(0) -> <v2>
magic[UNRESOLVED_CALL](a[0]|<v1>, <v2>) -> <v3>
magic[UNRESOLVED_CALL](a[0]++|<v3>) -> <v4>
L1:
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================