summaryrefslogtreecommitdiff
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 19:27:24 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 19:27:24 (GMT)
commit00e4fd42f36fa23de04cccb9cea3c3e5d14c9ae9 (patch)
tree0012d083c6af5721147cdd7ed7d21d260f38b811 /KNOWNBUGS.rb
parente2f37fb9c6c9df54b2be78d09de00aa7da0d694f (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 7f6fa92..e3ac867 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
+}