Skip to content

docs: region inference, span restrict and effect continuation docs from closed PRs - #1425

Merged
godofecht merged 1 commit into
mainfrom
docs/salvage-region-noalias-effects
Oct 7, 2026
Merged

godofecht merged 1 commit into
mainfrom
docs/salvage-region-noalias-effects

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Docs and C goldens salvaged from closed pull requests whose code already landed on main.

Finding: #1417 landed after #1360. An unproven forward copy between pointer parameters now stays an ordered element loop, where the closed branch expected memmove. The region_inference golden and the docs now describe the loop. The golden fails on the pre-#1417 compiler (4609f80), which emits memmove there. The /* region: unproven */ remark is no longer emitted on that path; the golden no longer asserts it.

Refs #694, #731, #564 (all closed).

Proof (macOS arm64):

  • ./flow tool tests/cgen/run.flow region_inference region_unproven: 2 passed
  • ./flow tool doc_links, script_refs, doc_coverage, project_state, doc_examples --check-ledger: pass
  • Docs and goldens only; no compiler change.

…om closed PRs

Salvaged from closed pull requests whose code already landed:

- #1360 (region inference, code merged as #1390): region-inference.md,
  the tests/cgen region_inference and region_unproven goldens, and the
  spec, book, spans, lifetime-domains, README, spec-index, nav and
  CHANGELOG lines.
- #1368 (noalias, code merged as #1388): the spans.md paragraph on
  restrict .data temporaries and its noalias.md link.
- #1380 (tail-resumptive effects, code merged as #1349): the spec-index
  row for effects-continuations.md.

#1417 landed after #1360 and keeps an unproven forward copy as an
ordered element loop. The region_inference golden and the docs now say
that, in place of the memmove the closed branch expected. The golden
fails on the pre-#1417 compiler, which emitted memmove.
@godofecht
godofecht force-pushed the docs/salvage-region-noalias-effects branch from 5250324 to 781ef8d Compare October 7, 2026 09:56
@godofecht
godofecht merged commit 9f1d6d0 into main Oct 7, 2026
37 checks passed
@godofecht
godofecht deleted the docs/salvage-region-noalias-effects branch October 12, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant