Repository navigation
docs: region inference, span restrict and effect continuation docs from closed PRs - #1425
Merged
Merged
Conversation
…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
force-pushed
the
docs/salvage-region-noalias-effects
branch
from
October 7, 2026 09:56
5250324 to
781ef8d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs and C goldens salvaged from closed pull requests whose code already landed on main.
.datatemporaries and its noalias.md link.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 emitsmemmovethere. 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