From 18b2ce11b5b0736723aa321e77c67be4395c3297 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sat, 5 Dec 2020 22:31:52 -0800 Subject: [PATCH] Mentioned numbered parameter assignment is a SyntaxError in NEWS [ci skip] Requested by Junichi Ito. --- NEWS.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 46dacc571b..80319e50e5 100644 --- a/NEWS.md +++ b/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 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. [[Bug #14541]] +* Assigning to a numbered parameter is now a SyntaxError instead of + a warning. + * Endless method definition is added. [EXPERIMENTAL] [[Feature #16746]]