mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
expand aliases used in constraint gen
This commit is contained in:
parent
2478ae05b1
commit
8a50d48ce2
2 changed files with 52 additions and 3 deletions
|
@ -83,7 +83,7 @@ pub fn constrain_expr(
|
|||
Num(var, _) => exists(
|
||||
vec![*var],
|
||||
Eq(
|
||||
Type::Apply(Symbol::NUM_NUM, vec![Type::Variable(*var)]),
|
||||
crate::builtins::num_num(Type::Variable(*var)),
|
||||
expected,
|
||||
Category::Num,
|
||||
region,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue