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

ruby-changes:61710

From: Nobuyoshi <ko1@a...>
Date: Sun, 14 Jun 2020 16:09:44 +0900 (JST)
Subject: [ruby-changes:61710] d23917dd85 (master): Support arguments of singleton method

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

From d23917dd85972b231ebe15b9d2fb6625a2bb8e08 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 14 Jun 2020 16:09:00 +0900
Subject: Support arguments of singleton method


diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb
index f28f48f..505a256 100644
--- a/tool/mk_builtin_loader.rb
+++ b/tool/mk_builtin_loader.rb
@@ -79,6 +79,7 @@ def collect_builtin base, tree, name, bs, inlines, params = nil https://github.com/ruby/ruby/blob/trunk/tool/mk_builtin_loader.rb#L79
       tree = tree[3]
       next
     when :defs
+      params = collect_params(tree[4])
       tree = tree[5]
       next
     when :class
-- 
cgit v0.10.2


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

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