Skip to content

Commit d31eda8

Browse files
committed
Add NEWS entry for [[Feature #20429]]
Followup: #10532
1 parent f9f3018 commit d31eda8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
122122
a warning on verbose mode (`-w`).
123123
[[Feature #15554]]
124124

125+
* Redefining some core methods that are specially optimized by the interpeter
126+
and JIT like `String.freeze` or `Integer#+` now emits a performance class
127+
warning (`-W:performance` or `Warning[:performance] = true`).
128+
[[Feature #20429]]
129+
125130
[Feature #13557]: https://bugs.ruby-lang.org/issues/13557
126131
[Feature #15554]: https://bugs.ruby-lang.org/issues/15554
127132
[Feature #16495]: https://bugs.ruby-lang.org/issues/16495

0 commit comments

Comments
 (0)