Do not commute generally The operator is commutative, but that doesn't mean x == False should become False == x upon normalization.
1 files changed, 1 insertions(+), 1 deletions(-) M lib/dhall/ast.rb
M lib/dhall/ast.rb => lib/dhall/ast.rb +1 -1
@@ 69,7 69,7 @@ module Dhall def dhall_eq(other) if self == other Bool.new(value: true) - elsif other.is_a?(Bool) + elsif other == Bool.new(value: true) other.dhall_eq(self) else Operator::Equal.new(lhs: self, rhs: other)