https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2017-03-31T06:22:10Z
Ruby Issue Tracking System
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=64010
2017-03-31T06:22:10Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/12705">Bug #12705</a>: yielding args to a lambda uses block/proc rather than lambda/method semantics</i> added</li></ul>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=64019
2017-04-01T04:09:07Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul></ul><p>進捗です。<br>
<a href="https://github.com/nobu/ruby/tree/bug/13391-map-arity" class="external">https://github.com/nobu/ruby/tree/bug/13391-map-arity</a></p>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=64922
2017-05-19T07:25:41Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-6 priority-4 priority-default closed" href="/issues/13404">Bug #13404</a>: Hash#any? yields arguments to lambdas with proc semantics</i> added</li></ul>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=65785
2017-07-14T08:33:45Z
hsbt (Hiroshi SHIBATA)
hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>ko1 (Koichi Sasada)</i></li></ul><blockquote>
<p>ko1</p>
</blockquote>
<p>Please review <a href="https://github.com/ruby/ruby/compare/trunk...nobu:bug/13391-map-arity" class="external">https://github.com/ruby/ruby/compare/trunk...nobu:bug/13391-map-arity</a></p>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=65825
2017-07-18T08:31:09Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>Applied in changeset trunk|r59358.</p>
<hr>
<p>vm_eval.c: rb_lambda_call</p>
<ul>
<li>
<p>enum.c (enum_collect): make the block arity same as the given<br>
block. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: wrong number of arguments error for Hash#map when lambda given (Closed)" href="https://bugs.ruby-lang.org/issues/13391">#13391</a>]</p>
</li>
<li>
<p>internal.h (vm_ifunc): store arity instead of unused id.</p>
</li>
<li>
<p>proc.c (rb_vm_block_min_max_arity): return ifunc arity.</p>
</li>
<li>
<p>vm_eval.c (rb_lambda_call): call method with lambda block.</p>
</li>
</ul>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=65827
2017-07-18T12:14:33Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN</i> to <i>2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED</i></li></ul>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=66019
2017-08-04T13:54:52Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED</i> to <i>2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED</i></li></ul>
Ruby master - Bug #13391: wrong number of arguments error for Hash#map when lambda given
https://bugs.ruby-lang.org/issues/13391?journal_id=66021
2017-08-04T14:31:56Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED</i> to <i>2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE</i></li></ul><p>ruby_2_4 r59500 merged revision(s) 59357,59358.</p>