summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-19 18:47:56 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-19 18:47:56 +0000
commitee65d7d76f19a16f0da0ed36e45afba4939524c4 (patch)
treeb22a65c2882e7408c924bc41f90d7c2c614c2460 /eval.c
parent2fe6158b36d75bc92b14ab8a13f1c9ab0520b03e (diff)
downloadruby-ee65d7d76f19a16f0da0ed36e45afba4939524c4.tar.gz
ruby-ee65d7d76f19a16f0da0ed36e45afba4939524c4.tar.xz
ruby-ee65d7d76f19a16f0da0ed36e45afba4939524c4.zip
* eval.c, vm_insnhelper.c: fix cref in instance_eval
and cvar_base search protocol. * bootstraptest/test_knownbug.rb, test_eval.rb: move soleved test and add new tests. * test/ruby/test_eval.rb: fix tests for spec. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16486 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 a224744ac..d0e7e5d15 100644
--- a/eval.c
+++ b/eval.c
@@ -1933,7 +1933,7 @@ rb_obj_instance_eval(int argc, VALUE *argv, VALUE self)
VALUE klass;
if (SPECIAL_CONST_P(self)) {
- klass = CLASS_OF(self); /* klass = Qnil; */
+ klass = Qnil;
}
else {
klass = rb_singleton_class(self);