Skip to content

fix: incorrect PartialEq for types with memoized fields#150

Merged
Fraser999 merged 1 commit intomainfrom
fraser/eng-1853/fix-partial-eq
Feb 16, 2026
Merged

fix: incorrect PartialEq for types with memoized fields#150
Fraser999 merged 1 commit intomainfrom
fraser/eng-1853/fix-partial-eq

Conversation

@Fraser999
Copy link
Contributor

@Fraser999 Fraser999 commented Feb 16, 2026

This updates all types with memoized fields to NOT derive PartialEq as that yields a logically incorrect implementation where the memoized fields are considered as part of the equality checks.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Fraser999 Fraser999 changed the title fix incorrect PartialEq for types with memoized fields fix: incorrect PartialEq for types with memoized fields Feb 16, 2026
@Fraser999 Fraser999 marked this pull request as ready for review February 16, 2026 12:03
@Fraser999 Fraser999 requested a review from prestwich February 16, 2026 12:03
@Fraser999 Fraser999 merged commit 02f729a into main Feb 16, 2026
7 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.

2 participants