summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-09 01:49:38 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-09 01:49:38 +0000
commit214cbdc9434b6ba967c00179473666732258c913 (patch)
treecf6a006486982f86c9c93b58a82462c6c19e5143 /NEWS
parent4a7afb71ec9ee3724dc14de4738cb5f20e0129d2 (diff)
* vm_insnhelper.c (vm_invoke_block): returning from lambda proc
now always exits from the Proc. [ruby-core:56193] [Feature #8693] * NEWS, test/ruby/test_lambda.rb: ditto. Patch by nobu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cd7cad8436..f27a26f25b 100644
--- a/NEWS
+++ b/NEWS
@@ -97,6 +97,11 @@ with all sufficient information, see the ChangeLog file.
* Raises TypeError instead of ArgumentError if the receiver doesn't have
to_r method.
+* Proc
+ * Returning from lambda proc now always exits from the Proc, not from the
+ method where the lambda is created. Returing from non-lambda proc exits
+ from the method, same as the former behavior.
+
=== Stdlib updates (outstanding ones only)
* Digest