mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* eval.c, method.h, proc.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c:
TracePoint#method_id should return method_id, not callee_id. [ruby-core:77241] [Feature #12747] * test/ruby/test_settracefunc.rb: change accordingly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bbeeb2535c
commit
8004ad33bc
9 changed files with 34 additions and 26 deletions
2
eval.c
2
eval.c
|
@ -749,7 +749,7 @@ rb_raise_jump(VALUE mesg, VALUE cause)
|
|||
ID mid = me->called_id;
|
||||
|
||||
rb_vm_pop_frame(th);
|
||||
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, self, mid, klass, Qnil);
|
||||
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, self, me->def->original_id, klass, Qnil);
|
||||
|
||||
setup_exception(th, TAG_RAISE, mesg, cause);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue