Skip to content

typecheck: interprocedural escape analysis without parameter annotations (#687) - #888

Merged
godofecht merged 1 commit into
mainfrom
harvest/687-escape-analysis
Sep 12, 2026
Merged

godofecht merged 1 commit into
mainfrom
harvest/687-escape-analysis

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Closes #687. Tracks when a function parameter escapes to static storage or is returned and propagates that across call sites, so a local passed into a callee that stores it is caught. No parameter annotations required. Integrates with the existing domain-escape check to avoid double-reporting. 318 type/effect/lifetime tests pass (built on #679, doc gap-list reconciled).

…ons (#687)

Track when a function parameter escapes to static storage or is returned,
and propagate that across call sites, so a local passed into a callee that
stores it is caught. Integrates with the existing domain-escape check so
the same escape is not double-reported. 318 type/effect/lifetime tests pass.

Co-Authored-By: Claude <[email protected]>
@godofecht
godofecht merged commit e190273 into main Sep 12, 2026
10 checks passed
@godofecht
godofecht deleted the harvest/687-escape-analysis branch October 1, 2026 12:49
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.

[Flow 2.0] Interprocedural escape analysis without function parameter annotations

1 participant