mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mentioned numbered parameter assignment is a SyntaxError in NEWS [ci skip]
Requested by Junichi Ito.
This commit is contained in:
parent
5d07a21ccd
commit
18b2ce11b5
1 changed files with 4 additions and 1 deletions
5
NEWS.md
5
NEWS.md
|
@ -82,10 +82,13 @@ sufficient information, see the ChangeLog file or Redmine
|
||||||
|
|
||||||
* When a class variable is overtaken by the same definition in an
|
* When a class variable is overtaken by the same definition in an
|
||||||
ancestor class/module, a RuntimeError is now raised (previously,
|
ancestor class/module, a RuntimeError is now raised (previously,
|
||||||
it only issued a warning in verbose mode. Additionally, accessing a
|
it only issued a warning in verbose mode). Additionally, accessing a
|
||||||
class variable from the toplevel scope is now a RuntimeError.
|
class variable from the toplevel scope is now a RuntimeError.
|
||||||
[[Bug #14541]]
|
[[Bug #14541]]
|
||||||
|
|
||||||
|
* Assigning to a numbered parameter is now a SyntaxError instead of
|
||||||
|
a warning.
|
||||||
|
|
||||||
* Endless method definition is added. [EXPERIMENTAL]
|
* Endless method definition is added. [EXPERIMENTAL]
|
||||||
[[Feature #16746]]
|
[[Feature #16746]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue