lib/grumlin/anonymous_step.rb in grumlin-0.15.2 vs lib/grumlin/anonymous_step.rb in grumlin-0.15.3

- old
+ new

@@ -39,9 +39,11 @@ def bytecode(no_return: false) @bytecode ||= Bytecode.new(self, no_return: no_return) end def args - [*@args, @params.any? ? @params : nil].compact + [*@args].tap do |args| + args << @params if @params.any? + end end end end