summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-03 09:46:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-03 09:46:43 +0000
commitc850ec8ac6a0958044f0e8557f6b39e18ae4a2a6 (patch)
treec3aceb3c5d72c0bb179b0643cce6299cd15f4075
parente3c74614dd0495b78acba3fa0620ce5bb0745640 (diff)
downloadruby-c850ec8ac6a0958044f0e8557f6b39e18ae4a2a6.tar.gz
ruby-c850ec8ac6a0958044f0e8557f6b39e18ae4a2a6.tar.xz
ruby-c850ec8ac6a0958044f0e8557f6b39e18ae4a2a6.zip
* eval.c (rb_call): typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 2dff10bcd..fbfb745ca 100644
--- a/eval.c
+++ b/eval.c
@@ -5052,7 +5052,7 @@ rb_call(klass, recv, mid, argc, argv, scope)
noex = ent->noex;
body = ent->method;
}
- else if ((body = rb_get_method_body(&k, &id, &noex)) == 0) {
+ else if ((body = rb_get_method_body(&klass, &id, &noex)) == 0) {
if (scope == 3) {
return rb_undefined(recv, mid, argc, argv, CSTAT_SUPER);
}