Skip to content

Fix double-lookups into Scope and map#9062

Merged
mcourteaux merged 1 commit intomainfrom
abadams/double_lookup
Mar 19, 2026
Merged

Fix double-lookups into Scope and map#9062
mcourteaux merged 1 commit intomainfrom
abadams/double_lookup

Conversation

@abadams
Copy link
Copy Markdown
Member

@abadams abadams commented Mar 18, 2026

In several places we were checking something was in a scope, and if so, looking it up again to actually do something with it. We should use ::find (or ::shallow_find for a mutable reference into a Scope)

No functional impact.

In several places we were checking something was in a scope, and if so,
looking it up again to actually do something with it. We should use
::find (or ::shallow_find for a mutable reference into a Scope)

No functional impact.
@mcourteaux
Copy link
Copy Markdown
Contributor

Failure is: #9055 (comment)

@mcourteaux mcourteaux merged commit cba6542 into main Mar 19, 2026
22 of 23 checks passed
@alexreinking alexreinking deleted the abadams/double_lookup branch March 19, 2026 14:51
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