From 1bd7427f29bb0e69e6e03d6d66aac6c9a6f7a300 Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune Date: Tue, 22 Dec 2020 02:49:27 -0500 Subject: NEWS: move error handling at end of section --- NEWS.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index 826d7f0c00..ab9197f7e5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 -- cgit v1.2.3