[前][次][番号順一覧][スレッド一覧]

ruby-changes:57370

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 29 Aug 2019 18:35:05 +0900 (JST)
Subject: [ruby-changes:57370] 卜部昌平: 48e346a088 (master): fix arity of bug_start

https://git.ruby-lang.org/ruby.git/commit/?id=48e346a088

From 48e346a088395924298163941d4b4cdd8243e377 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Wed, 28 Aug 2019 17:33:07 +0900
Subject: fix arity of bug_start

This is just a trivial mistake introduced in
0f36e8fc03a5c6433972d6bb5f177d5f6e106bac.

diff --git a/ext/-test-/bug-3571/bug.c b/ext/-test-/bug-3571/bug.c
index a64f054..dd3c85c 100644
--- a/ext/-test-/bug-3571/bug.c
+++ b/ext/-test-/bug-3571/bug.c
@@ -8,7 +8,7 @@ bug_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, arg)) https://github.com/ruby/ruby/blob/trunk/ext/-test-/bug-3571/bug.c#L8
 }
 
 static VALUE
-bug_start(VALUE self, VALUE hash)
+bug_start(VALUE self)
 {
     VALUE ary = rb_ary_new3(1, Qnil);
     rb_block_call(ary, rb_intern("map"), 0, 0, bug_i, self);
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]