Make address comparable by inequality
This commit is contained in:
parent
9d296f04cb
commit
fc2875965e
@ -824,7 +824,7 @@ infer(Contracts, Options) ->
|
|||||||
|
|
||||||
%% Set the constraints for the builtin types
|
%% Set the constraints for the builtin types
|
||||||
ets_new(ord_constraint_types, [set]),
|
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),
|
ets_insert(ord_constraint_types, OrdTypes),
|
||||||
|
|
||||||
when_warning(warn_unused_functions, fun() -> create_unused_functions() end),
|
when_warning(warn_unused_functions, fun() -> create_unused_functions() end),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user