summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-15 12:50:24 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-15 12:50:24 +0000
commit7eb2e99e70b2ee8c46ff7c4a0be76a3afb83694f (patch)
treeaec3ccab6f5becbfcb68032b7aa2465b4e3889fe
parent074d49e37abe39939127277e76fd5f25306a5558 (diff)
Add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--KNOWNBUGS.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index e85a6522a1..c5ebc97b02 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -10,6 +10,8 @@ class TC_KnownBugs < Test::Unit::TestCase
end
def test_block_arg1
+ # &b wrongly captures the upper block such as the one given to
+ # this method, if no block is given on yield.
just_yield {|&b|
assert_equal(nil, b)
}