Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Hash#update when default block also adds given key #14417

Conversation

HertzDevil
Copy link
Contributor

Fixes #14416.

@HertzDevil HertzDevil added kind:bug topic:stdlib:collection kind:regression Something that used to correctly work but no longer works labels Apr 2, 2024
@straight-shoota straight-shoota added this to the 1.12.0 milestone Apr 2, 2024
@straight-shoota straight-shoota merged commit 47bb15b into crystal-lang:master Apr 3, 2024
58 checks passed
@HertzDevil HertzDevil deleted the bug/hash-update-default-block branch April 6, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug kind:regression Something that used to correctly work but no longer works topic:stdlib:collection
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It's possible to create a Hash with duplicate keys using missing key block and update method
2 participants