~singpolyma/dhall-ruby

5ff820517904daf04252a05b5f029bfe06a9d007 — Stephen Paul Weber 1 year, 2 months ago c5470e7
Fix for new Set#=== in newer Ruby

Because breaking things is point releases is how Ruby rolls.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/dhall/typecheck.rb
M lib/dhall/typecheck.rb => lib/dhall/typecheck.rb +1 -1
@@ 828,7 828,7 @@ module Dhall

				def assert_union_and_handlers_match
					extras = @handlers.keys ^ @union.type.alternatives.keys
					TypeChecker.assert extras, Set.new,
					TypeChecker.assert extras.to_a, [],
					                   "Merge handlers unknown alternatives: #{extras}"

					@union.type.alternatives.each do |k, atype|