diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 13:15:26 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 13:15:26 +0000 |
commit | 8004ad33bcdb7b5bec3f7f077d386563fbcda76a (patch) | |
tree | aa8388fa9bc7eda27578d67b4a7d85015f9b2f1d /proc.c | |
parent | bbeeb2535c8e1b9759c14c9c441d654e2a1193e5 (diff) | |
download | ruby-8004ad33bcdb7b5bec3f7f077d386563fbcda76a.tar.gz |
* 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
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2224,7 +2224,7 @@ umethod_bind(VALUE method, VALUE recv) else { klass = rb_include_class_new(methclass, klass); } - RB_OBJ_WRITE(method, &bound->me, rb_method_entry_complement_defined_class(bound->me, klass)); + RB_OBJ_WRITE(method, &bound->me, rb_method_entry_complement_defined_class(bound->me, bound->me->called_id, klass)); } return method; |