== foo == fun foo() { "before" val b = 1 fun local(x: Int) = x + b "after" } --------------------- L0: 1 INIT: in: {} out: {} 2 mark({ "before" val b = 1 fun local(x: Int) = x + b "after" }) mark("before") r("before") -> v(val b = 1) INIT: in: {} out: {} r(1) -> INIT: in: {} out: {} w(b|) INIT: in: {} out: {} jmp?(L2) INIT: in: {} out: {} d(fun local(x: Int) = x + b) INIT: in: {} out: {} L2 [after local declaration]: mark("after") r("after") -> L1: 1 error: sink: USE: in: {} out: {} ===================== == local == fun local(x: Int) = x + b --------------------- L3: 3 INIT: in: {} out: {} v(x: Int) INIT: in: {} out: {} magic[FAKE_INITIALIZER](x: Int) -> INIT: in: {} out: {} w(x|) INIT: in: {} out: {} r(x) -> INIT: in: {} out: {} r(b) -> mark(x + b) call(x + b, plus|, ) -> ret(*|) L4 L4: error: sink: USE: in: {} out: {} =====================