ruby-changes:73427
From: Takashi <ko1@a...>
Date: Mon, 5 Sep 2022 16:28:56 +0900 (JST)
Subject: [ruby-changes:73427] c2986f7d28 (master): Fix warnings from private_constant
https://git.ruby-lang.org/ruby.git/commit/?id=c2986f7d28 From c2986f7d28539ed81085272f17c2ce53435a06d1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Mon, 5 Sep 2022 00:26:24 -0700 Subject: Fix warnings from private_constant `private_constant *constants` seems to be warned for some reason --- tool/ruby_vm/views/mjit_instruction.rb.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/ruby_vm/views/mjit_instruction.rb.erb b/tool/ruby_vm/views/mjit_instruction.rb.erb index 1f49669fa5..1c462de53a 100644 --- a/tool/ruby_vm/views/mjit_instruction.rb.erb +++ b/tool/ruby_vm/views/mjit_instruction.rb.erb @@ -36,5 +36,5 @@ module RubyVM::MJIT https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/views/mjit_instruction.rb.erb#L36 % end } - private_constant *constants + private_constant(*constants) end if RubyVM::MJIT.enabled? -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/