Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit e070527cf2007034ab197ebb13892cbb35edf8ff 1 parent f79bfbc
Laurent Sansonetti authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 vm_eval.c
7 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);
Please sign in to comment.
Something went wrong with that request. Please try again.