ruby-changes:58903
From: Junichi <ko1@a...>
Date: Mon, 25 Nov 2019 10:47:45 +0900 (JST)
Subject: [ruby-changes:58903] a5f0d1d715 (master): Remove duplicated line in NEWS [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=a5f0d1d715 From a5f0d1d71598451dd8461ba52a3a143cb33afdd3 Mon Sep 17 00:00:00 2001 From: Junichi Ito <jit@s...> Date: Mon, 25 Nov 2019 10:16:59 +0900 Subject: Remove duplicated line in NEWS [ci skip] [ruby-core:95935] [Misc #16365] diff --git a/NEWS b/NEWS index f806fe8..8804f40 100644 --- a/NEWS +++ b/NEWS @@ -83,7 +83,6 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L83 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. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/