From fc2875965e302c75a1c02e9655beeb0c524aecee Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Sun, 19 Jun 2022 20:54:58 +0400 Subject: [PATCH] Make address comparable by inequality --- src/aeso_ast_infer_types.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_ast_infer_types.erl b/src/aeso_ast_infer_types.erl index 8648404..977935e 100644 --- a/src/aeso_ast_infer_types.erl +++ b/src/aeso_ast_infer_types.erl @@ -824,7 +824,7 @@ infer(Contracts, Options) -> %% Set the constraints for the builtin types ets_new(ord_constraint_types, [set]), - OrdTypes = [ {"int"}, {"bool"}, {"bits"}, {"char"}, {"string"}, {"list"}, {"option"} ], + OrdTypes = [ {"int"}, {"bool"}, {"bits"}, {"char"}, {"string"}, {"list"}, {"option"}, {"address"} ], ets_insert(ord_constraint_types, OrdTypes), when_warning(warn_unused_functions, fun() -> create_unused_functions() end),