Permalink
Browse files

revert r3589 because it breaks irb...

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3620 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent f79bfbc commit e070527cf2007034ab197ebb13892cbb35edf8ff @lrz lrz committed Feb 25, 2010
Showing with 1 addition and 6 deletions.
  1. +1 −6 vm_eval.c
View
@@ -442,12 +442,7 @@ rb_f_eval(VALUE self, SEL sel, int argc, VALUE *argv)
klass = self;
break;
default:
- if (self == rb_vm_top_self()) {
- klass = 0;
- }
- else {
- klass = CLASS_OF(self);
- }
+ klass = 0;
break;
}
return eval_string(self, klass, src, scope, file, line);

0 comments on commit e070527

Please sign in to comment.