1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove duplicated line in NEWS [ci skip]

[ruby-core:95935] [Misc #16365]
This commit is contained in:
Junichi Ito 2019-11-25 10:16:59 +09:00 committed by Kazuhiro NISHIYAMA
parent 9af52c0d09
commit a5f0d1d715
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

1
NEWS
View file

@ -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}) # 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
def foo(h={}, key: 42); end; foo({"key" => 43}, key: 42) # OK
* If a method does not accept keywords, and is called with keywords, * If a method does not accept keywords, and is called with keywords,
the keywords are still treated as a positional hash, with no warning. the keywords are still treated as a positional hash, with no warning.