diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-09 08:48:34 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-09 08:48:34 +0000 |
commit | 29756c5e94c6f273c6b1a1103d9c0b12570566ea (patch) | |
tree | bf3a399a7074285a5137d279286f0a5f604467c3 /method.h | |
parent | 1cf13e078593c31aec06e4749287aceab989baf6 (diff) |
* vm_insnhelper.c (vm_call_opt_send): Kernel#send should not use
refinements.
* proc.c (mnew): Kernel#method, Kernel#public_method,
Module#instance_method, and Module#public_instance_method should
not use refinements.
* vm_method.c (rb_method_boundp): Kernel#respond_to? should not use
refinements.
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
-rw-r--r-- | method.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -102,6 +102,8 @@ rb_method_entry_t *rb_resolve_refined_method(VALUE refinements, VALUE *defined_class_ptr); rb_method_entry_t *rb_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class_ptr); +rb_method_entry_t *rb_method_entry_without_refinements(VALUE klass, ID id, + VALUE *defined_class_ptr); rb_method_entry_t *rb_method_entry_get_without_cache(VALUE klass, ID id, VALUE *define_class_ptr); rb_method_entry_t *rb_method_entry_set(VALUE klass, ID mid, const rb_method_entry_t *, rb_method_flag_t noex); |