diff options
author | Marc-Andre Lafortune <github@marc-andre.ca> | 2020-12-22 02:49:27 -0500 |
---|---|---|
committer | Marc-André Lafortune <github@marc-andre.ca> | 2020-12-22 13:48:13 -0500 |
commit | 1bd7427f29bb0e69e6e03d6d66aac6c9a6f7a300 (patch) | |
tree | 8aac279fce407c483464ab77eb74073cf73bc8b5 /NEWS.md | |
parent | f1591b385890fe5e650bf8d5fa75e05a7c01ecea (diff) |
NEWS: move error handling at end of section
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3974
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -48,10 +48,6 @@ sufficient information, see the ChangeLog file or Redmine warnings are emitted by access/assignment to it, and the assigned value will be returned. [[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]] - * Pattern matching(`case/in`) is no longer experimental. [[Feature #17260]] * One-line pattern matching is redesigned. [EXPERIMENTAL] @@ -89,15 +85,6 @@ sufficient information, see the ChangeLog file or Redmine end ``` -* When a class variable is overtaken by the same definition in an - ancestor class/module, a RuntimeError is now raised (previously, - it only issued a warning in verbose mode). Additionally, accessing a - class variable from the toplevel scope is now a RuntimeError. - [[Bug #14541]] - -* Assigning to a numbered parameter is now a SyntaxError instead of - a warning. - * Endless method definition is added. [EXPERIMENTAL] [[Feature #16746]] @@ -115,6 +102,19 @@ 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. +* 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]] + +* When a class variable is overtaken by the same definition in an + ancestor class/module, a RuntimeError is now raised (previously, + it only issued a warning in verbose mode). Additionally, accessing a + class variable from the toplevel scope is now a RuntimeError. + [[Bug #14541]] + +* Assigning to a numbered parameter is now a SyntaxError instead of + a warning. + ## Command line options ### `--help` option |