aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-28 13:49:49 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-28 13:51:09 +0900
commitd474243e8c635a011ce2789660cb71b3f6815317 (patch)
tree8ff6d862eeaf9e7c456d37f6f2b8374051c027cb /NEWS
parentd53cf854741bbf496298c5a722988d2dd84314a1 (diff)
downloadruby-d474243e8c635a011ce2789660cb71b3f6815317.tar.gz
NEWS: Added module name to proc and lambda [ci skip]
RDoc cannot know if bare words are method name or not.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 183433eb92..73be13e4bc 100644
--- a/NEWS
+++ b/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]