Completes plan 2 Tasks 7-8. owner.ml: mutable-value-semantics flow analysis producing the four plan-3 emitter tables (moves, drops incl. LIVE-MASK for trap unwinding, rc with elision, residual borrow sites) plus WO-E301-304 two-site diagnostics. Alias questions run over canonicalized places, so a double-mut reached through let-bound aliases lands in the residual table like the direct form; dump.ml's contract notes the emitter must coalesce guards per operand. main.ml: directory discovery, cross-file programs (symbols merge before bodies check), diagnostics ordered by (file,line,col), new WO-E214 for a name declared in two files. New docs/plan/oop-vm/01-error-catalog.md (14 emitted + 10 reserved codes), un-ignored so both plan tracks can cite it; justfile regains woc-*. builtin_scalars is now the five that work: Int, Bool, Text, Timestamp, Id. Money/SKU/Float and the abstract_types allowlist are gone — `abstract` never lexed, and Float had no literal syntax and no wob kind, so no value could exist. Fixtures and samples retype Money->Int, SKU->Text. The abstract newtype feature is rejected outright (verdict row adopt->reject); haxe-parity Task 7 keeps `is`. nullable-types-implementation.md corrected: ?T is plumbed but UNENFORCED (E211-213 declared, never emitted; probe exits 0), handed to haxe-parity Task 6 as next work item. Records all 10 dead codes incl. E205 — interface satisfaction is unchecked. crates/rt keeps its Money/SKU fixtures (opaque strings, Stage 2). Gate: build warning-clean, 14 + 264 checks 0 failures, pricing golden exit 0, docs/examples histograms unchanged (13/70, zero WO-E225).
23 lines
450 B
Text
23 lines
450 B
Text
== MOVES ==
|
|
16:15 MOVE inner ASSIGN
|
|
51:20 MOVE a ARG(it)
|
|
57:7 MOVE a ASSIGN
|
|
62:18 MOVE a ARG(it)
|
|
== DROPS ==
|
|
12:3 SCOPE BODY [extra, spare]
|
|
16:7 OVERWRITE spare
|
|
18:5 SCOPE WHILE [tick]
|
|
21:5 SCOPE FOR [seen]
|
|
29:3 SCOPE THEN [tmp]
|
|
31:25 LIVE-MASK [tmp, b, a]
|
|
34:5 RETURN [b, a]
|
|
36:23 LIVE-MASK [b, a]
|
|
37:3 RETURN [b, a]
|
|
41:3 LIVE-MASK [r]
|
|
42:3 RETURN [r]
|
|
46:3 RETURN [it]
|
|
50:3 JOIN-DROP ELSE [a]
|
|
58:3 RETURN [a]
|
|
64:3 RETURN [a]
|
|
== RC ==
|
|
== RESIDUAL ==
|