summaryrefslogtreecommitdiff
path: root/eval.c
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
commit30f934d341d45966b40ea6473dd3c87c4c04c586 (patch)
treec3aceb3c5d72c0bb179b0643cce6299cd15f4075 /eval.c
parentc5fc4bca6d45ac58be7ccba26fbb90664643eab3 (diff)
* eval.c (rb_call): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 2dff10b..fbfb745 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);
}