NEWS: combine $SAFE and $KCODE, move lower

This commit is contained in:
Marc-Andre Lafortune 2020-12-22 02:50:39 -05:00 коммит произвёл Marc-André Lafortune
Родитель 1bd7427f29
Коммит 5a6d27fe22
1 изменённых файлов: 4 добавлений и 8 удалений

12
NEWS.md
Просмотреть файл

@ -40,14 +40,6 @@ sufficient information, see the ChangeLog file or Redmine
# 3.0 => [[[1, {:a=>1}]], {}] # 3.0 => [[[1, {:a=>1}]], {}]
``` ```
* $SAFE is now a normal global variable with no special behavior.
C-API methods related to $SAFE have been removed.
[[Feature #16131]]
* $KCODE is now a normal global variable with no special behavior. No
warnings are emitted by access/assignment to it, and the assigned
value will be returned. [[Feature #17136]]
* Pattern matching(`case/in`) is no longer experimental. [[Feature #17260]] * Pattern matching(`case/in`) is no longer experimental. [[Feature #17260]]
* One-line pattern matching is redesigned. [EXPERIMENTAL] * One-line pattern matching is redesigned. [EXPERIMENTAL]
@ -102,6 +94,10 @@ sufficient information, see the ChangeLog file or Redmine
* {TypeProf}[rdoc-label:label-TypeProf] is experimentally bundled. It is a * {TypeProf}[rdoc-label:label-TypeProf] is experimentally bundled. It is a
type analysis tool for Ruby programs. type analysis tool for Ruby programs.
* $SAFE and $KCODE are now normal global variables with no special behavior.
C-API methods related to $SAFE have been removed.
[[Feature #16131]] [[Feature #17136]]
* yield in singleton class definitions in methods is now a SyntaxError * yield in singleton class definitions in methods is now a SyntaxError
instead of a warning. yield in a class definition outside of a method instead of a warning. yield in a class definition outside of a method
is now a SyntaxError instead of a LocalJumpError. [[Feature #15575]] is now a SyntaxError instead of a LocalJumpError. [[Feature #15575]]