Skip to content

Update str_chilled_p for Ruby 4.1#219

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:str-chilled
Jul 10, 2026
Merged

Update str_chilled_p for Ruby 4.1#219
byroot merged 1 commit into
ruby:masterfrom
byroot:str-chilled

Conversation

@byroot

@byroot byroot commented Jul 10, 2026

Copy link
Copy Markdown
Member

Ref: ruby/ruby#17781
[Feature #22137]

The only cause for chilled is now literals.
STR_CHILLED_SYMBOL_TO_S has been removed because Symbol#to_s always return a frozen string.

Comment thread ext/stringio/stringio.c Outdated
Comment thread ext/stringio/stringio.c Outdated
[Feature #22137]

The only cause for chilled is now literals.
`STR_CHILLED_SYMBOL_TO_S` has been removed because `Symbol#to_s`
always return a frozen string.
@byroot

byroot commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

@nobu thanks, updated.

@byroot byroot merged commit 5915b45 into ruby:master Jul 10, 2026
61 of 68 checks passed
@byroot byroot deleted the str-chilled branch July 10, 2026 07:27
matzbot pushed a commit to ruby/ruby that referenced this pull request Jul 10, 2026
(ruby/stringio#219)

Ref: #17781
[[Feature #22137]](https://bugs.ruby-lang.org/issues/22137)

The only cause for chilled is now literals.
`STR_CHILLED_SYMBOL_TO_S` has been removed because `Symbol#to_s` always
return a frozen string.

ruby/stringio@5915b45c40
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