1
0
Fork 0
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:
nobu 2004-01-16 14:53:10 +00:00
parent 8e8c7f04ef
commit 154615ea66
2 changed files with 4 additions and 3 deletions

View file

@ -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
View file

@ -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;
}