Skip to content

Return if_none for invalid offsets in Indexable#find [fixup #15552]#15589

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
Sija:patch-16
Mar 25, 2025
Merged

Return if_none for invalid offsets in Indexable#find [fixup #15552]#15589
straight-shoota merged 2 commits intocrystal-lang:masterfrom
Sija:patch-16

Conversation

@Sija
Copy link
Copy Markdown
Contributor

@Sija Sija commented Mar 23, 2025

Fixes a regression from #15552

@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:collection labels Mar 23, 2025
@straight-shoota straight-shoota added this to the 1.16.0 milestone Mar 24, 2025
@straight-shoota straight-shoota changed the title Return if_none for invalid offsets in Indexable#find Return if_none for invalid offsets in Indexable#find [fixup #15552] Mar 25, 2025
@straight-shoota straight-shoota merged commit cbb17d3 into crystal-lang:master Mar 25, 2025
43 of 46 checks passed
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