mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_method.c (rb_method_entry_eq): method defined from same
block/proc should be equal. [ruby-core:25755] [ruby-core:24791] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f2103ee4a9
commit
3ca245a54c
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,11 @@ Sat Sep 26 13:26:55 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
|
|||
* lib/net/http.rb (transport_request): Handle timeout error by
|
||||
closing socket if exception raised. [ruby-core:20976]
|
||||
|
||||
Sat Sep 26 12:08:17 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* vm_method.c (rb_method_entry_eq): method defined from same
|
||||
block/proc should be equal. [ruby-core:25755] [ruby-core:24791]
|
||||
|
||||
Sat Sep 26 08:35:12 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* iseq.c (compile_string): rename to parse_string(), because
|
||||
|
|
|
@ -809,7 +809,7 @@ rb_method_entry_eq(const rb_method_entry_t *m1, const rb_method_entry_t *m2)
|
|||
case VM_METHOD_TYPE_IVAR:
|
||||
return d1->body.attr_id == d2->body.attr_id;
|
||||
case VM_METHOD_TYPE_BMETHOD:
|
||||
return d1->body.proc == d2->body.proc;
|
||||
return rb_equal(d1->body.proc, d2->body.proc);
|
||||
case VM_METHOD_TYPE_ZSUPER:
|
||||
case VM_METHOD_TYPE_NOTIMPLEMENTED:
|
||||
case VM_METHOD_TYPE_UNDEF:
|
||||
|
|
Loading…
Add table
Reference in a new issue