Skip to content

Use explicit wrapping arithmetic for hash seeds#4718

Open
Keno wants to merge 1 commit into
JuliaLang:masterfrom
KenoAIStaging:kf/wrapping-arithmetic-50790
Open

Use explicit wrapping arithmetic for hash seeds#4718
Keno wants to merge 1 commit into
JuliaLang:masterfrom
KenoAIStaging:kf/wrapping-arithmetic-50790

Conversation

@Keno

@Keno Keno commented Jul 7, 2026

Copy link
Copy Markdown
Member

This PR goes with JuliaLang/julia#50790. There is no particularly urgent need to merge it, but opening it for completeness in case we want to add a CI job that runs checked.

Use Julia's explicit wrapping arithmetic operator for hash seed mixing in resolver/version structures. This keeps hashing correct when ordinary integer arithmetic is made checked, as in JuliaLang/julia#50790.

Co-authored-by: OpenAI Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant