diff options
author | 卜部昌平 <[email protected]> | 2019-09-25 13:51:06 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-09-30 10:26:38 +0900 |
commit | 7cb96d41a52d5ce4b2485ff542edc88fa246bc1a (patch) | |
tree | dc13c02edcd942d8bf0aa67bbf1fd262cfcc0f41 /proc.c | |
parent | 3207979278bea11c50cb84f4044047b9c503230b (diff) |
refactor delete rb_method_entry_copy
The deleted function was to destructively overwrite existing method
entries, which is now considered to be a bad idea. Delete it, and
assign a newly created method entry instead.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2486
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -15,8 +15,6 @@ #include "vm_core.h" #include "iseq.h" -extern const rb_method_definition_t *rb_method_definition_create(rb_method_type_t type, ID mid, const void *opts); - /* Proc.new with no block will raise an exception in the future * versions */ #define PROC_NEW_REQUIRES_BLOCK 0 |