[前][次][番号順一覧][スレッド一覧]

ruby-changes:43772

From: nobu <ko1@a...>
Date: Tue, 9 Aug 2016 16:36:18 +0900 (JST)
Subject: [ruby-changes:43772] nobu:r55845 (trunk): test_objectspace.rb: errors in a finalizer

nobu	2016-08-09 16:36:14 +0900 (Tue, 09 Aug 2016)

  New Revision: 55845

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55845

  Log:
    test_objectspace.rb: errors in a finalizer
    
    * test/ruby/test_objectspace.rb (test_finalizer_with_super):
      adjust number of arguments to get rid of errors in a finalizer.

  Modified files:
    trunk/test/ruby/test_objectspace.rb
Index: test/ruby/test_objectspace.rb
===================================================================
--- test/ruby/test_objectspace.rb	(revision 55844)
+++ test/ruby/test_objectspace.rb	(revision 55845)
@@ -103,7 +103,7 @@ End https://github.com/ruby/ruby/blob/trunk/test/ruby/test_objectspace.rb#L103
         end
 
         FINALIZER = proc do
-          M.module_eval do
+          M.module_eval(__FILE__, "", __LINE__) do
           end
         end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]