Skip to content

Generate non-frozen strings on TruffleRuby for consistency#963

Merged
byroot merged 1 commit intoruby:masterfrom
rwstauner:thawed
Mar 26, 2026
Merged

Generate non-frozen strings on TruffleRuby for consistency#963
byroot merged 1 commit intoruby:masterfrom
rwstauner:thawed

Conversation

@rwstauner
Copy link
Contributor

@rwstauner rwstauner commented Mar 26, 2026

I encountered an error from activesupport because it is expecting generated json to not be frozen:

https://github.com/rails/rails/blob/4df808965b4a1e42cbd4a3ad0764d30a18a5e1b1/activesupport/lib/active_support/json/encoding.rb#L188-L192

While we might want to protect against that there, this also seemed unintentional and inconsistent so I figured I would start here.

@byroot byroot merged commit c76b244 into ruby:master Mar 26, 2026
41 checks passed
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