~singpolyma/dhall-ruby

68abcbd7550bf12c6adc65d9b367fabdc0497226 — Stephen Paul Weber 2 years ago 7b768e2 0.5.4
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