1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

TracePoint#__enable requires 3 arguments now

This commit is contained in:
Nobuyoshi Nakada 2019-06-30 21:20:16 +09:00
parent 62e66b8e18
commit 1eca2f3ca9
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ ruby$target:::method-return
private
def ruby_program
<<-eoruby
TracePoint.new{}.__enable(nil, nil)
TracePoint.new{}.__enable(nil, nil, Thread.current)
class Foo
def foo; end
end

View file

@ -46,7 +46,7 @@ ruby$target:::method-return
def ruby_program
<<-eoruby
TracePoint.new{}.__enable(nil, nil)
TracePoint.new{}.__enable(nil, nil, Thread.current)
class Foo
def self.foo; end
end