Skip to content

docs(lint): require protected write dominance - #1995

Merged
mablr merged 1 commit into
foundry-rs:masterfrom
mattsse:mattsse/docs-protected-vars-dominance
Jul 16, 2026
Merged

docs(lint): require protected write dominance#1995
mablr merged 1 commit into
foundry-rs:masterfrom
mattsse:mattsse/docs-protected-vars-dominance

Conversation

@mattsse

@mattsse mattsse commented Jul 16, 2026

Copy link
Copy Markdown
Member

The original protected-vars page in #1982 described simple reachability. The reviewed implementation in foundry-rs/foundry#15766 instead requires each protected write to be dominated by its guard, including modifier placeholder flow, branches, early exits, and nested modifiers. This also documents Yul return resolution, storage-slot retargeting, and the distinction between persistent sstore and transient tstore.

Follow-up to #1982 and foundry-rs/foundry#15766.

Prepared with assistance from OpenAI Codex.

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

@mattsse is attempting to deploy a commit to the Tempo Team on Vercel.

A member of the Team first needs to authorize it.

@mablr
mablr merged commit 1d250f8 into foundry-rs:master Jul 16, 2026
1 of 2 checks passed
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.

3 participants