Skip to content

typecheck: flag lifetime-domain references escaping to static storage (#679) - #884

Merged
godofecht merged 1 commit into
mainfrom
harvest/679-lifetime-domains
Sep 12, 2026
Merged

godofecht merged 1 commit into
mainfrom
harvest/679-lifetime-domains

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Part of #679 (Flow 2.0 memory-safety epic). Adds _check_domain_escape_to_static so a domain-bound value assigned into static/global storage is reported. Expanded tests/unit/test_lifetime_domains.py (44 cases) passes; 317 type-checker/effect/strict tests pass with no regression. Incremental; epic stays open.

…#679)

Add _check_domain_escape_to_static so a domain-bound value assigned into
static/global storage is reported, tightening lifetime-domain soundness.
Covered by expanded tests/unit/test_lifetime_domains.py (44 cases).
Incremental step on the Flow 2.0 memory-safety epic.

Co-Authored-By: Claude <[email protected]>
@godofecht
godofecht merged commit ef6209d into main Sep 12, 2026
22 of 24 checks passed
@godofecht
godofecht deleted the harvest/679-lifetime-domains branch September 12, 2026 13:35
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