mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Rename Category::Float to Category::Frac
This commit is contained in:
parent
e389b23e4b
commit
3972664e48
6 changed files with 10 additions and 10 deletions
|
@ -289,7 +289,7 @@ pub fn constrain_pattern(
|
|||
num_precision_var,
|
||||
bound,
|
||||
region,
|
||||
Category::Float,
|
||||
Category::Frac,
|
||||
);
|
||||
|
||||
// Link the free num var with the float var and our expectation.
|
||||
|
@ -298,7 +298,7 @@ pub fn constrain_pattern(
|
|||
state.constraints.push(constraints.equal_types(
|
||||
num_type.clone(), // TODO check me if something breaks!
|
||||
Expected::NoExpectation(float_type),
|
||||
Category::Float,
|
||||
Category::Frac,
|
||||
region,
|
||||
));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue