зеркало из https://github.com/github/ruby.git
NEWS: combine $SAFE and $KCODE, move lower
This commit is contained in:
Родитель
1bd7427f29
Коммит
5a6d27fe22
12
NEWS.md
12
NEWS.md
|
@ -40,14 +40,6 @@ sufficient information, see the ChangeLog file or Redmine
|
|||
# 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]]
|
||||
|
||||
* 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
|
||||
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
|
||||
instead of a warning. yield in a class definition outside of a method
|
||||
is now a SyntaxError instead of a LocalJumpError. [[Feature #15575]]
|
||||
|
|
Загрузка…
Ссылка в новой задаче