Skip to content

Commit bd6c300

Browse files
byroothsbt
authored andcommitted
Clarify chilled stirng behavior in 3.4.0-rc1 release announcement
Identical to the preview2 release: #3380
1 parent d17ca1c commit bd6c300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Switch the default parser from parse.y to Prism. [[Feature #20564]]
3636

3737
## Language changes
3838

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

0 commit comments

Comments
 (0)