Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Switch the default parser from parse.y to Prism. [[Feature #20564]]

## Language changes

* String literals in files without a `frozen_string_literal` comment now behave
as if they were frozen. If they are mutated a deprecation warning is emitted.
* String literals in files without a `frozen_string_literal` comment now emit a deprecation warning
when they are mutated.
These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`.
To disable this change, you can run Ruby with the `--disable-frozen-string-literal`
command line argument. [[Feature #20205]]
Expand Down
Loading