mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Move Int and Float modules into Num
This commit is contained in:
parent
d041355c1d
commit
88990c8711
26 changed files with 543 additions and 547 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue