lib/dentaku/ast/function.rb in dentaku-2.0.5 vs lib/dentaku/ast/function.rb in dentaku-2.0.6

- old
+ new

@@ -32,10 +32,10 @@ def self.type @type end def value(context={}) - args = @args.flat_map { |a| a.value(context) } + args = @args.map { |a| a.value(context) } self.class.implementation.call(*args) end def type self.class.type