summaryrefslogtreecommitdiffstats
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 19:27:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 19:27:24 +0000
commita74438f583dea6c6ec740220d26f70887aa15c27 (patch)
tree0012d083c6af5721147cdd7ed7d21d260f38b811 /KNOWNBUGS.rb
parent8f72d76d6e73f67de300f11bfd7a7f9baee47d9f (diff)
downloadruby-a74438f583dea6c6ec740220d26f70887aa15c27.tar.gz
ruby-a74438f583dea6c6ec740220d26f70887aa15c27.tar.xz
ruby-a74438f583dea6c6ec740220d26f70887aa15c27.zip
* vm.c, vm_insnhelper.c: fix escape process with "braek" and "return"
syntax in "lambda". [ ruby-Bugs-19304 ], [ruby-core:17164] * KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb21
1 files changed, 12 insertions, 9 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index 7f6fa9274..e3ac86776 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -3,15 +3,18 @@
# So all tests will cause failure.
#
-assert_equal %q{[:bar, :foo]}, %q{
- def foo
- klass = Class.new do
- define_method(:bar) do
- return :bar
- end
+assert_equal 'A', %q{
+ class A
+ @@a = 'A'
+ def a=(x)
+ @@a = x
+ end
+ def a
+ @@a
end
- [klass.new.bar, :foo]
end
- foo
-}, "[ ruby-Bugs-19304 ]"
+ B = A.dup
+ B.new.a = 'B'
+ A.new.a
+}