summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-04-16 08:29:25 +0200
committerJean Boussier <[email protected]>2024-04-17 10:07:57 +0200
commitd31eda8eb636b9cc1ef343df5688f1abea3409c9 (patch)
tree8d9d77d3e52e2e35b7f60b60f40eb9b67bbde11d
parentf9f301800199e7b5b9a6e92cf726cd0214d417a4 (diff)
Add NEWS entry for [[Feature #20429]]
Followup: https://github.com/ruby/ruby/pull/10532
-rw-r--r--NEWS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 98e4f17cf7..f3368421a9 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -122,6 +122,11 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
a warning on verbose mode (`-w`).
[[Feature #15554]]
+* Redefining some core methods that are specially optimized by the interpeter
+ and JIT like `String.freeze` or `Integer#+` now emits a performance class
+ warning (`-W:performance` or `Warning[:performance] = true`).
+ [[Feature #20429]]
+
[Feature #13557]: https://bugs.ruby-lang.org/issues/13557
[Feature #15554]: https://bugs.ruby-lang.org/issues/15554
[Feature #16495]: https://bugs.ruby-lang.org/issues/16495