summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-12-18 19:18:35 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-12-18 19:18:35 +0900
commit2811d9d224645ea714c3d20ef3d0e6a6661d441f (patch)
tree5ae3329052cbbafea1badf4ce26565d98ab5f5f2 /NEWS.md
parentdd338ae124182b445c688666769cd8b7930ad88c (diff)
NEWS.md: Tweak "Constant lookup when defining a class/module"
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/NEWS.md b/NEWS.md
index ece6ccad45..4f33b847cd 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -601,9 +601,9 @@ The following deprecated methods are removed.
### Constant lookup when defining a class/module
* When defining a class/module directly under the Object class by class/module
- statement, if there is already a class/module with the same name, the statement
- was handled as "open class" in Ruby 3.1 or before. Since Ruby 3.2, a new class
- is defined instead. [[Feature #18832]]
+ statement, if there is already a class/module defined by `Module#include`
+ with the same name, the statement was handled as "open class" in Ruby 3.1 or before.
+ Since Ruby 3.2, a new class is defined instead. [[Feature #18832]]
## Stdlib compatibility issues