Skip to content

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

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:bug/hash-update-default-block
Apr 3, 2024
Merged

Fix Hash#update when default block also adds given key#14417
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:bug/hash-update-default-block

Conversation

@HertzDevil
Copy link
Contributor

Fixes #14416.

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:collection kind:regression Something that used to correctly work but no longer works labels Apr 2, 2024
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. 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