diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-17 09:42:39 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-17 09:42:39 +0000 |
commit | fa4e516db95cb6a158ebb162688efbc17ff997a1 (patch) | |
tree | 43d4991042a8276b8e489ce0c7ef8efcf6762a0a /ChangeLog | |
parent | ec217619b6bc48650905055c365ce7207328cc24 (diff) |
* method.h: introduce rb_method_definition_t::complemented_count.
* vm_method.c (method_definition_addref_complement): introduced.
def->alias_count is used to decide warn or do not warn at method
redefinition. Complented methods should not prevent redefiniton
warnings.
* vm_method.c (rb_method_definition_release): release def iff
alias_count == 0 && complemented_count == 0.
* test/ruby/test_module.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Tue Nov 17 18:36:52 2015 Koichi Sasada <ko1@atdot.net> + + * method.h: introduce rb_method_definition_t::complemented_count. + + * vm_method.c (method_definition_addref_complement): introduced. + + def->alias_count is used to decide warn or do not warn at method + redefinition. Complented methods should not prevent redefiniton + warnings. + + * vm_method.c (rb_method_definition_release): release def iff + alias_count == 0 && complemented_count == 0. + + * test/ruby/test_module.rb: add a test. + Tue Nov 17 15:34:34 2015 Martin Duerst <duerst@it.aoyama.ac.jp> * NEWS: Added update from Unicode 7.0.0 to 8.0.0 [ci skip] |