docs: session handoff — lowering-completeness session; alloc slice COMPLETE (Memory.ck DEAD, Alloc.ck is the memory model); cross-module generics landed; all traits + §1b design decisions RULED; 4 precisely-rooted reds for next session's opener; rat… #68
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/068-docs-session-handoff-lowering-completeness-ses"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docs: session handoff — lowering-completeness session; alloc slice COMPLETE (Memory.ck DEAD, Alloc.ck is the memory model); cross-module generics landed; all traits + §1b design decisions RULED; 4 precisely-rooted reds for next session's opener; ratchet 112→102; debt register at 30 entries (4 closed/ruled this session, 8 new — all owned)
Along the way:
Touches 61 files:
handoff.md,slice_traits.md,slice_turbofish.md,src/rust/crates/ck_cktest/src/pipeline.rs,src/rust/crates/ck_driver/src/compile/cross_module.rs,src/rust/crates/ck_driver/src/compile/fn_main.rsand 55 more.Happy with this. I ran the suite against the branch and it is green,
src/rust/crates/ck_driver/tests/impl_dispatch_run.rsincluded.@ -468,6 +523,7 @@ fn state_probe_entry(fns: (FnId, FnId, FnId), words: &[i64], span: Span) -> Body},span,);b.record_type(call, region_ty.clone());record_typeis cloned on what looks like a hot path. Is the ownership forced here, or can this borrow?, at src/rust/crates/ck_driver/src/compile/state_probe.rs:526.@ -0,0 +109,4 @@.arg("-u").arg(binary).output().expect("spawn `nm -u`");The expect message on
expectis the only thing a user sees if this fires. Does it say what they should do, or only what we assumed?, at src/rust/crates/ck_driver/tests/impl_dispatch_run.rs:112.It said what I assumed. Reworded in
src/rust/crates/ck_driver/tests/impl_dispatch_run.rsso it names the input that broke it, which is what the bug report will need.It can borrow. The clone of
record_typewas left over from before the lifetime was threaded throughsrc/rust/crates/ck_driver/src/compile/state_probe.rs, and it is gone.