diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | eval_method.ci | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Dec 12 21:26:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * eval_method.ci (rb_alias): no need to skip aliasing when new + equals to old. [ruby-core:13990] + Wed Dec 12 16:34:53 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * io.c (rb_io_check_readable): set default external encoding to diff --git a/eval_method.ci b/eval_method.ci index 4e07ee7d6..8ebe252ee 100644 --- a/eval_method.ci +++ b/eval_method.ci @@ -563,8 +563,6 @@ rb_alias(VALUE klass, ID name, ID def) st_data_t data; rb_frozen_class_p(klass); - if (name == def) - return; if (klass == rb_cObject) { rb_secure(4); } |
