~singpolyma/dhall-ruby

9b700376f890784e0b933b627ed2573addad1ca7 — Stephen Paul Weber 3 years ago ce8894b
Enum should not have itself in the alts
1 files changed, 1 insertions(+), 1 deletions(-)

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

		def self.from(alts, tag, value)
			if value.nil?
				Enum.new(tag: tag, alternatives: alts)
				Enum.new(tag: tag, alternatives: alts.without(tag))
			else
				new(
					tag:          tag,