summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-16 09:32:51 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-16 09:32:51 +0000
commite173962181dafbab3f8d850ab765e88f640a9d39 (patch)
tree905a6b87d6a4273272711954f26df114206b0231
parentf21bc9261a2db100765ca0281c88ef1c71cee425 (diff)
* eval.c: bugus commit fixed (again, sorry).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index e6a695581f..55e5dd6f1d 100644
--- a/eval.c
+++ b/eval.c
@@ -1815,6 +1815,8 @@ is_defined(self, node, buf)
!rb_obj_is_kind_of(self, rb_class_real(val)))
break;
}
+ else if (!rb_method_boundp(val, node->nd_mid, call))
+ break;
return arg_defined(self, node->nd_args, buf, "method");
}
break;