summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-01 08:01:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-01 08:01:33 +0000
commit28057a36b6036e945197b2be4ad10427853fd9c3 (patch)
treea1f593c01eb24e317c44e57840e013c0154a1a15 /eval.c
parent85ead97f2be8233156d35342ad99cf4b5ff24bfb (diff)
* eval.c (rb_load): Object scope had priority over required file
scope. [ruby-dev:21415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 5c2ff1790f..d8162916ba 100644
--- a/eval.c
+++ b/eval.c
@@ -5758,7 +5758,6 @@ rb_load(fname, wrap)
ruby_frame->last_func = 0;
ruby_frame->last_class = 0;
ruby_frame->self = self;
- PUSH_CREF(ruby_class);
PUSH_SCOPE();
/* default visibility is private at loading toplevel */
SCOPE_SET(SCOPE_PRIVATE);