Skip to content

Commit

Permalink
Clarify chilled stirng behavior in 3.4.0-rc1 release announcement
Browse files Browse the repository at this point in the history
Identical to the preview2 release: #3380
  • Loading branch information
byroot authored and hsbt committed Dec 13, 2024
1 parent d17ca1c commit bd6c300
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit bd6c300

Please sign in to comment.