From 28057a36b6036e945197b2be4ad10427853fd9c3 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 1 Oct 2003 08:01:33 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ eval.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0674d1421a..63eaa4d727 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 1 17:01:30 2003 Nobuyoshi Nakada + + * eval.c (rb_load): Object scope had priority over required file + scope. [ruby-dev:21415] + Wed Oct 01 14:09:53 2003 Takaaki Uematsu * wince/mkconfig_wce.rb: sorry, forget to commit. 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);