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:
parent
9af52c0d09
commit
a5f0d1d715
1 changed files with 0 additions and 1 deletions
1
NEWS
1
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}) # 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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue