NEWS.md: Tweak "Constant lookup when defining a class/module"

This commit is contained in:
Yusuke Endoh 2022-12-18 19:18:35 +09:00
Родитель dd338ae124
Коммит 2811d9d224
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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