зеркало из https://github.com/github/ruby.git
* vm_method.c (make_method_entry_refined): fix wrong use of ||.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b212dd6674
Коммит
5a121a4f0b
|
@ -1,3 +1,7 @@
|
|||
Fri Sep 23 23:57:40 2016 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* vm_method.c (make_method_entry_refined): fix wrong use of ||.
|
||||
|
||||
Fri Sep 23 21:38:58 2016 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* tool/mdoc2man.rb (Mdoc2Man#parse_macro): Add support for the
|
||||
|
|
|
@ -447,7 +447,8 @@ make_method_entry_refined(VALUE owner, rb_method_entry_t *me)
|
|||
|
||||
refined.orig_me =
|
||||
rb_method_entry_alloc(me->called_id, me->owner,
|
||||
me->defined_class || owner,
|
||||
me->defined_class ?
|
||||
me->defined_class : owner,
|
||||
method_definition_addref(me->def));
|
||||
METHOD_ENTRY_FLAGS_COPY(refined.orig_me, me);
|
||||
refined.owner = owner;
|
||||
|
|
Загрузка…
Ссылка в новой задаче