Files
kotlin-fork/compiler/testData/cfg-variables/basic/InitializedNotDeclared.instructions
T
2014-03-07 21:08:16 +04:00

22 lines
637 B
Plaintext

== A ==
class A {
{
x = 1
}
val x: Int
}
---------------------
L0:
<START> INIT: in: {} out: {}
mark({ x = 1 })
r(1) USE: in: {x=ONLY_WRITTEN_NEVER_READ} out: {x=ONLY_WRITTEN_NEVER_READ}
w(x) INIT: in: {} out: {x=I} USE: in: {} out: {x=ONLY_WRITTEN_NEVER_READ}
v(val x: Int) INIT: in: {x=I} out: {x=ID}
L1:
<END> INIT: in: {x=ID} out: {x=ID}
error:
<ERROR> INIT: in: {} out: {}
sink:
<SINK> INIT: in: {x=ID} out: {x=ID} USE: in: {} out: {}
=====================