From a10c11a66bae7ec4bfb56d0ccfe74a0c6681fc77 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Wed, 13 Dec 2023 14:40:34 +0000 Subject: [PRISM] Add anon KW args to the block local table --- test/ruby/test_compile_prism.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby') diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb index 0c95f1b194..6a942cfff1 100644 --- a/test/ruby/test_compile_prism.rb +++ b/test/ruby/test_compile_prism.rb @@ -1632,6 +1632,7 @@ module Prism def test_KeywordRestParameterNode assert_prism_eval("def prism_test_keyword_rest_parameter_node(a, **b); end") + assert_prism_eval("Object.tap { |**| }") end def test_NoKeywordsParameterNode -- cgit v1.2.3