Implemented INT_NE_i64

This commit is contained in:
Chad Stearns 2020-05-01 16:31:19 -04:00
parent 8befd12355
commit 71258e0e59
6 changed files with 72 additions and 1 deletions

View file

@ -280,6 +280,12 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
SolvedType::Func(vec![int_type(), int_type()], Box::new(bool_type())),
);
// notEquals : Int, Int -> Bool
add_type(
Symbol::INT_NEQ_I64,
SolvedType::Func(vec![int_type(), int_type()], Box::new(bool_type())),
);
// highest : Int
add_type(Symbol::INT_HIGHEST, int_type());