Files
kotlin-fork/compiler/testData/cfg/expressions/assignmentToThis.instructions
T
Alexey Sedunov e11ffb8542 Pseudocode: Replace UnsupportedElementInstruction with UNSUPPORTED_ELEMENT magic.
Generate UNSUPPORTED_ELEMENT for assignments with unresolved left-han side
2014-07-28 13:04:00 +04:00

21 lines
499 B
Plaintext

== bar ==
fun Int.bar(c: C) {
this = c
}
---------------------
L0:
1 <START>
v(c: C)
magic[FAKE_INITIALIZER](c: C) -> <v0>
w(c|<v0>)
2 mark({ this = c })
r(c) -> <v1>
magic[UNSUPPORTED_ELEMENT](this = c|<v1>) -> <v2>
L1:
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================