mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +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
|
@ -146,7 +146,7 @@ pub fn constrain_pattern(
|
|||
state.constraints.push(Constraint::Pattern(
|
||||
region,
|
||||
PatternCategory::Float,
|
||||
builtins::builtin_type(Symbol::INT_INT, vec![]),
|
||||
builtins::builtin_type(Symbol::NUM_INT, vec![]),
|
||||
expected,
|
||||
));
|
||||
}
|
||||
|
@ -155,7 +155,7 @@ pub fn constrain_pattern(
|
|||
state.constraints.push(Constraint::Pattern(
|
||||
region,
|
||||
PatternCategory::Float,
|
||||
builtins::builtin_type(Symbol::FLOAT_FLOAT, vec![]),
|
||||
builtins::builtin_type(Symbol::NUM_FLOAT, vec![]),
|
||||
expected,
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue