From b4546d26f297d25c0e03f5f09864e7b371d65fa8 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 20 Sep 2022 09:43:49 +0900 Subject: [PATCH] Fix the trailing comma comment for builtin [ci skip] so that it's clear why not args.last but args[1] --- tool/mk_builtin_loader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index c5bbd79a80..6b4ae121d9 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -97,7 +97,7 @@ def collect_builtin base, tree, name, bs, inlines, locals = nil mid = nil end # w/ trailing comma: [[:method_add_arg, ...]] - # w/o trailing comma: [:args_add_block, [[:method_add_arg, ...]]] + # w/o trailing comma: [:args_add_block, [[:method_add_arg, ...]], false] if args && args.first == :args_add_block args = args[1] end