lib/parser/source/tree_rewriter.rb in parser-2.6.4.1 vs lib/parser/source/tree_rewriter.rb in parser-2.6.5.0

- old
+ new

@@ -264,10 +264,10 @@ raise ArgumentError, "Invalid policy: #{invalid.join(', ')}" unless invalid.empty? end def combine(range, attributes) range = check_range_validity(range) - action = TreeRewriter::Action.new(range, @enforcer, attributes) + action = TreeRewriter::Action.new(range, @enforcer, **attributes) @action_root = @action_root.combine(action) self end def check_range_validity(range)