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 Set#to_a(&) #14519

Merged
merged 5 commits into from
May 13, 2024
Merged

Fix Set#to_a(&) #14519

merged 5 commits into from
May 13, 2024

Conversation

meatball133
Copy link
Contributor

⚠️ This pr includes breaking changes ⚠️

resolves #14518

@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. breaking-change topic:stdlib:collection labels Apr 21, 2024
spec/std/set_spec.cr Outdated Show resolved Hide resolved
Co-authored-by: Devonte W <devnote.dev75@gmail.com>
spec/std/set_spec.cr Outdated Show resolved Hide resolved
@straight-shoota straight-shoota changed the title Fix Set#to_a& Fix Set#to_a(&) Apr 22, 2024
@HertzDevil
Copy link
Contributor

I don't think this counts as a breaking change?

@straight-shoota
Copy link
Member

Technically it's breaking the current behaviour of this method. Of course it was bullocks, so the fix is necessary.
We don't categorize it as a breaking change but a bug fix. Still it'll be highlighted in the changelog due to the potential for breaking something.

Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
Copy link
Member

@beta-ziliani beta-ziliani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @meatball133 !

@beta-ziliani beta-ziliani added this to the 1.13.0 milestone May 10, 2024
@straight-shoota straight-shoota merged commit 8b2bd98 into crystal-lang:master May 13, 2024
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change 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.

Set#to_a& works the same as to_a
7 participants