summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-12 18:30:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-12 18:30:43 +0900
commit197a3efc751f43956fc9ad30d688b4bfa3f7fbdb (patch)
tree4a13ccef35f66906defba077d7327bc4fa5a0551
parent4d86f3bf6d1fe7bf7d4b25fc42f7aba9f401bbb4 (diff)
[Feature #20884] News of toplevel "Ruby" name reservation
-rw-r--r--NEWS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 57e37708d2..9326d70ffb 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -25,6 +25,9 @@ Note that each entry is kept to a minimum, see links for details.
* Keyword arguments are no longer allowed in index assignment
(e.g. `a[0, kw: 1] = 2`). [[Bug #20218]]
+* The toplevel name `::Ruby` is reserved now, and the definition will be warned
+ when `Warning[:deprecated]`. [[Feature #20884]]
+
## Core classes updates
Note: We're only listing outstanding class updates.
@@ -396,5 +399,6 @@ details of the default gems or bundled gems.
[Feature #20811]: https://bugs.ruby-lang.org/issues/20811
[Feature #20860]: https://bugs.ruby-lang.org/issues/20860
[Feature #20876]: https://bugs.ruby-lang.org/issues/20876
+[Feature #20884]: https://bugs.ruby-lang.org/issues/20884
[Feature #20902]: https://bugs.ruby-lang.org/issues/20902
[Bug #20929]: https://bugs.ruby-lang.org/issues/20929