diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-10 08:19:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-10 08:19:14 +0000 |
commit | 9f1fb0a17febc59356d58cef5e98db61a3c03550 (patch) | |
tree | 14c3bf6cd585b859d030ec8d41e6b6e16b0e01e7 /NEWS | |
parent | ec336fb40e4df0c8615e584fbefb5e9e572cb9ec (diff) | |
download | ruby-9f1fb0a17febc59356d58cef5e98db61a3c03550.tar.gz |
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
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -17,6 +17,11 @@ sufficient information, see the ChangeLog file or Redmine * Method reference operator, <code>.:</code> 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) |