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:
parent
62e66b8e18
commit
1eca2f3ca9
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue