mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (proc_eq): compare also arguments and environment
(including local variables). [ruby-dev:22590] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e8c7f04ef
commit
154615ea66
2 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
Fri Jan 16 14:56:49 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Fri Jan 16 23:53:09 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (proc_eq): compare also arguments and environment.
|
||||
[ruby-dev:22590]
|
||||
* eval.c (proc_eq): compare also arguments and environment
|
||||
(including local variables). [ruby-dev:22590]
|
||||
|
||||
Fri Jan 16 14:33:35 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
|
|
1
eval.c
1
eval.c
|
@ -8215,6 +8215,7 @@ proc_eq(self, other)
|
|||
if (data->body != data2->body) return Qfalse;
|
||||
if (data->var != data2->var) return Qfalse;
|
||||
if (data->frame.uniq != data2->frame.uniq) return Qfalse;
|
||||
if (data->dyna_vars != data2->dyna_vars) return Qfalse;
|
||||
return Qtrue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue