ruby-changes:3209
From: ko1@a...
Date: 25 Dec 2007 22:16:03 +0900
Subject: [ruby-changes:3209] ko1 - Ruby:r14702 (trunk): * bootstraptest/pending.rb: add pending issue.
ko1 2007-12-25 22:15:53 +0900 (Tue, 25 Dec 2007)
New Revision: 14702
Modified files:
trunk/ChangeLog
trunk/bootstraptest/pending.rb
Log:
* bootstraptest/pending.rb: add pending issue.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14702&r2=14701
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/pending.rb?r1=14702&r2=14701
Index: ChangeLog
===================================================================
--- ChangeLog (revision 14701)
+++ ChangeLog (revision 14702)
@@ -1,3 +1,7 @@
+Tue Dec 25 22:13:51 2007 Koichi Sasada <ko1@a...>
+
+ * bootstraptest/pending.rb: add pending issue.
+
Tue Dec 25 22:12:40 2007 Koichi Sasada <ko1@a...>
* thread.c: remove Thread.critical(=).
Index: bootstraptest/pending.rb
===================================================================
--- bootstraptest/pending.rb (revision 14701)
+++ bootstraptest/pending.rb (revision 14702)
@@ -4,3 +4,22 @@
}
:ok
}, '[ruby-dev:32525]'
+
+assert_equal "ok", %q{
+ module Foo
+ end
+
+ begin
+ def foo(&b)
+ Foo.module_eval &b
+ end
+ foo{
+ def bar
+ end
+ }
+ bar
+ rescue NoMethodError
+ :ok
+ end
+}, '[ruby-core:14378]'
+
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml