Fix for ruby 3 seperation of hash and keyword args
1 files changed, 3 insertions(+), 3 deletions(-) M lib/dhall/ast.rb
M lib/dhall/ast.rb => lib/dhall/ast.rb +3 -3
@@ 581,9 581,9 @@ module Dhall Builtins[:Natural] end - def initialize(normalized: false, **attrs) - @normalized = normalized - super(**attrs) + def initialize(attrs) + @normalized = attrs.delete(:normalized) || false + super(attrs) end def type