mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
NEWS: Added module name to proc and lambda [ci skip]
RDoc cannot know if bare words are method name or not.
This commit is contained in:
parent
d53cf85474
commit
d474243e8c
1 changed files with 3 additions and 3 deletions
6
NEWS
6
NEWS
|
@ -86,10 +86,10 @@ sufficient information, see the ChangeLog file or Redmine
|
|||
h = {}; def foo(*a) a end; foo(h) # [{}]
|
||||
h = {}; def foo(a) a end; foo(h) # {}
|
||||
|
||||
* Proc.new and proc with no block in a method called with a block is warned
|
||||
now.
|
||||
* Proc.new and Kernel#proc with no block in a method called with a block is
|
||||
warned now.
|
||||
|
||||
* lambda with no block in a method called with a block errs.
|
||||
* Kernel#lambda with no block in a method called with a block errs.
|
||||
|
||||
* Non-Symbol keys in a keyword arguments hash were prohibited in 2.6.0,
|
||||
but are now allowed again. [Bug #15658]
|
||||
|
|
Loading…
Add table
Reference in a new issue