From a5f0d1d71598451dd8461ba52a3a143cb33afdd3 Mon Sep 17 00:00:00 2001 From: Junichi Ito Date: Mon, 25 Nov 2019 10:16:59 +0900 Subject: [PATCH] Remove duplicated line in NEWS [ci skip] [ruby-core:95935] [Misc #16365] --- NEWS | 1 - 1 file changed, 1 deletion(-) diff --git a/NEWS b/NEWS index f806fe848c..8804f40d14 100644 --- a/NEWS +++ b/NEWS @@ -83,7 +83,6 @@ sufficient information, see the ChangeLog file or Redmine def foo(h={}, key: 42); end; foo("key" => 43, key: 42) # warned def foo(h={}, key: 42); end; foo({"key" => 43, key: 42}) # warned def foo(h={}, key: 42); end; foo({"key" => 43}, key: 42) # OK - def foo(h={}, key: 42); end; foo({"key" => 43}, key: 42) # OK * If a method does not accept keywords, and is called with keywords, the keywords are still treated as a positional hash, with no warning.