diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-12 12:27:39 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-12 12:27:39 +0000 |
| commit | c3b0f8f1daad8849cf1974b6cc2ffe891c73ad1a (patch) | |
| tree | 4e5dc5200e3e043359a583abb0f01acf53ef50c0 | |
| parent | a5d3fc4a9a5ce4a4a9d6b7537ebb0ad57988a12a (diff) | |
| download | ruby-c3b0f8f1daad8849cf1974b6cc2ffe891c73ad1a.tar.gz ruby-c3b0f8f1daad8849cf1974b6cc2ffe891c73ad1a.tar.xz ruby-c3b0f8f1daad8849cf1974b6cc2ffe891c73ad1a.zip | |
* eval_method.ci (rb_alias): no need to skip aliasing when new
equals to old. [ruby-core:13990]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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); } |
