From c2986f7d28539ed81085272f17c2ce53435a06d1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 5 Sep 2022 00:26:24 -0700 Subject: [PATCH] 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 % end } - private_constant *constants + private_constant(*constants) end if RubyVM::MJIT.enabled?