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?= Date: Wed, 28 Aug 2019 17:33:07 +0900 Subject: [PATCH] fix arity of bug_start This is just a trivial mistake introduced in 0f36e8fc03a5c6433972d6bb5f177d5f6e106bac. --- ext/-test-/bug-3571/bug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/-test-/bug-3571/bug.c b/ext/-test-/bug-3571/bug.c index a64f054740..dd3c85cd79 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)) } 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);