From 9f1fb0a17febc59356d58cef5e98db61a3c03550 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 10 Jan 2019 08:19:14 +0000 Subject: proc.c: proc without block * proc.c (proc_new): promoted lambda/proc/Proc.new with no block in a method called with a block to a warning/error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 6045717bb2..a08c10f5bc 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,11 @@ sufficient information, see the ChangeLog file or Redmine * Method reference operator, .: is introduced as an experimental feature. [Feature #12125] [Feature #13581] +* Proc.new and 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. + === Core classes updates (outstanding ones only) === Stdlib updates (outstanding ones only) -- cgit v1.2.3