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

Use rb_sym2str instead of SYM2ID #561

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Use rb_sym2str instead of SYM2ID #561

merged 1 commit into from
Dec 6, 2023

Conversation

jhawthorn
Copy link
Member

This avoids pinning an id to the symbol used if a dynamic symbol is passed in as a hash key.

rb_sym2str is available in Ruby 2.2+ and json depends on >= 2.3.

This avoids pinning an id to the symbol used if a dynamic symbol is
passed in as a hash key.

rb_sym2str is available in Ruby 2.2+ and json depends on >= 2.3.
@hsbt
Copy link
Member

hsbt commented Dec 6, 2023

👍

@hsbt hsbt merged commit 7864324 into ruby:master Dec 6, 2023
60 checks passed
@jhawthorn jhawthorn deleted the rb_sym2str branch December 6, 2023 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants