e42b616438
Given a heterogenous equality: a == b The normalizer will only reduce it if a and b are objects of the same kind. Now, 1 == true is not reduced to false anymore. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
8 lines
151 B
Text
8 lines
151 B
Text
import Int
|
|
eval 1 == true
|
|
eval 1 == 1.0
|
|
eval 1 == nat_to_int 1
|
|
eval true == 1.0
|
|
eval Nat::add == 1
|
|
eval Nat::add == Nat::mul
|
|
eval Int::add == Int::mul
|