ko1
fa4e516db9
* 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
2015-11-17 09:42:39 +00:00
..
2015-11-11 00:07:16 +00:00
2015-09-21 19:28:14 +00:00
2015-11-16 12:38:09 +00:00
2015-09-03 05:22:41 +00:00
2015-10-30 07:17:08 +00:00
2015-10-24 12:16:55 +00:00
2015-11-08 05:06:22 +00:00
2015-10-22 22:25:19 +00:00
2015-10-30 04:37:13 +00:00
2015-11-06 11:18:30 +00:00
2015-10-27 07:18:14 +00:00
2015-10-23 02:09:16 +00:00
2015-10-07 13:55:07 +00:00
2015-11-04 01:31:15 +00:00
2015-11-11 03:48:45 +00:00
2015-10-19 06:25:01 +00:00
2015-11-10 11:48:14 +00:00
2015-11-13 04:10:58 +00:00
2015-11-17 05:36:03 +00:00
2015-11-10 11:48:14 +00:00
2015-09-02 09:50:00 +00:00
2015-08-11 02:53:31 +00:00
2015-11-09 15:37:04 +00:00
2015-09-21 19:28:14 +00:00
2015-11-06 03:39:23 +00:00
2015-09-05 02:39:55 +00:00
2015-11-17 09:42:39 +00:00
2015-11-12 04:50:06 +00:00
2015-11-14 13:15:33 +00:00
2015-09-01 09:37:33 +00:00
2015-10-25 00:43:06 +00:00
2015-11-09 08:38:20 +00:00
2015-08-28 01:24:36 +00:00
2015-10-23 22:29:14 +00:00
2015-10-23 07:35:14 +00:00
2015-11-14 07:43:23 +00:00
2015-11-10 11:48:14 +00:00
2015-11-10 11:48:14 +00:00
2015-10-20 03:19:44 +00:00
2015-11-16 06:43:43 +00:00
2015-11-14 08:00:29 +00:00
2015-11-03 12:15:31 +00:00
2015-10-06 12:40:41 +00:00
2015-11-14 09:43:18 +00:00
2015-09-03 05:22:41 +00:00