Some significant change has landed in Ruby 3.4-dev.
String literals will now act as if they were frozen in files without a `frozen_string_literal` magic comment.
If they are mutated they'll emit a deprecation warning rather than an error.
This opens the door to make string literals frozen by default in the future.
If you maintain a gem, please test it with ruby-head and with `Warning[:deprecated] = true`
https://github.com/ruby/ruby/commit/12be40ae6be78ac41e8e3f3c313cc6f63e7fa6c4
@byroot that's cool!
@byroot I'm so glad this was done. Adding that magic comment to every file is so... inelegant.
@byroot thanks for moving this forward.