[前][次][番号順一覧][スレッド一覧]

ruby-changes:64477

From: Marc-Andre <ko1@a...>
Date: Wed, 23 Dec 2020 03:48:34 +0900 (JST)
Subject: [ruby-changes:64477] 1bd7427f29 (master): NEWS: move error handling at end of section

https://git.ruby-lang.org/ruby.git/commit/?id=1bd7427f29

From 1bd7427f29bb0e69e6e03d6d66aac6c9a6f7a300 Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Tue, 22 Dec 2020 02:49:27 -0500
Subject: NEWS: move error handling at end of section


diff --git a/NEWS.md b/NEWS.md
index 826d7f0..ab9197f 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -48,10 +48,6 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L48
   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 https://github.com/ruby/ruby/blob/trunk/NEWS.md#L85
     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 https://github.com/ruby/ruby/blob/trunk/NEWS.md#L102
     * {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 v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]