mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
fix: clean up uniq and adjust PatternCategory for int type in constrain
This commit is contained in:
parent
3ea4858eb5
commit
e91fc2f1ff
2 changed files with 17 additions and 34 deletions
|
@ -157,7 +157,7 @@ pub fn constrain_pattern(
|
|||
IntLiteral(_) => {
|
||||
state.constraints.push(Constraint::Pattern(
|
||||
region,
|
||||
PatternCategory::Float,
|
||||
PatternCategory::Int,
|
||||
builtins::num_int(),
|
||||
expected,
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue