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);