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

ruby-changes:56296

From: Nobuyoshi <ko1@a...>
Date: Sun, 30 Jun 2019 21:39:15 +0900 (JST)
Subject: [ruby-changes:56296] Nobuyoshi Nakada: 1eca2f3ca9 (trunk): TracePoint#__enable requires 3 arguments now

https://git.ruby-lang.org/ruby.git/commit/?id=1eca2f3ca9

From 1eca2f3ca936cfdbce7b82342f5903b7d16e9bc1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 30 Jun 2019 21:20:16 +0900
Subject: TracePoint#__enable requires 3 arguments now


diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb
index 8050f91..e2395ab 100644
--- a/test/dtrace/test_function_entry.rb
+++ b/test/dtrace/test_function_entry.rb
@@ -77,7 +77,7 @@ ruby$target:::method-return https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_function_entry.rb#L77
     private
     def ruby_program
       <<-eoruby
-      TracePoint.new{}.__enable(nil, nil)
+      TracePoint.new{}.__enable(nil, nil, Thread.current)
       class Foo
 	def foo; end
       end
diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb
index 11fe805..bad1fa0 100644
--- a/test/dtrace/test_singleton_function.rb
+++ b/test/dtrace/test_singleton_function.rb
@@ -46,7 +46,7 @@ ruby$target:::method-return https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_singleton_function.rb#L46
 
     def ruby_program
       <<-eoruby
-      TracePoint.new{}.__enable(nil, nil)
+      TracePoint.new{}.__enable(nil, nil, Thread.current)
       class Foo
 	def self.foo; end
       end
-- 
cgit v0.10.2


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

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