Skip to content

Fix Hash methods to retain compare_by_identity flag#16356

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
andrykonchin:ak/unify-hash-compare-by-identity
Nov 16, 2025
Merged

Fix Hash methods to retain compare_by_identity flag#16356
straight-shoota merged 1 commit intocrystal-lang:masterfrom
andrykonchin:ak/unify-hash-compare-by-identity

Conversation

@andrykonchin
Copy link
Contributor

Changes:

  • retain compare_by_identity flag in all the Hash class methods that create and return new Hash instance

Related issue - #13617

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:collection labels Nov 11, 2025
@straight-shoota straight-shoota changed the title Fix Hash#{select,reject,compact,merge,transform_values} and retain compare_by_identity flag Fix Hash methods to retain compare_by_identity flag Nov 13, 2025
@straight-shoota straight-shoota added this to the 1.19.0 milestone Nov 13, 2025
@straight-shoota straight-shoota merged commit 157f8ca into crystal-lang:master Nov 16, 2025
42 checks passed
@andrykonchin andrykonchin deleted the ak/unify-hash-compare-by-identity branch November 16, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:collection

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants