Move Int and Float modules into Num

This commit is contained in:
Richard Feldman 2020-06-22 21:58:42 -04:00
parent d041355c1d
commit 88990c8711
26 changed files with 543 additions and 547 deletions

View file

@ -376,11 +376,11 @@ fn unique_num(var_store: &mut VarStore, symbol: Symbol) -> (Variable, Variable,
}
fn unique_int(var_store: &mut VarStore) -> (Variable, Variable, Type) {
unique_num(var_store, Symbol::INT_INTEGER)
unique_num(var_store, Symbol::NUM_INTEGER)
}
fn unique_float(var_store: &mut VarStore) -> (Variable, Variable, Type) {
unique_num(var_store, Symbol::FLOAT_FLOATINGPOINT)
unique_num(var_store, Symbol::NUM_FLOATINGPOINT)
}
pub fn constrain_expr(