mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-01 10:52:18 +00:00
Coalesce type signature vars in typed def constraining
This commit is contained in:
parent
3362763e45
commit
ce7648b344
1 changed files with 0 additions and 2 deletions
|
@ -2340,7 +2340,6 @@ fn constrain_typed_def(
|
|||
rigids: ftv,
|
||||
};
|
||||
|
||||
// TODO there is a signature_index below, can we coalesce it here?
|
||||
let signature_index = constraints.push_type(signature.clone());
|
||||
|
||||
let annotation_expected = FromAnnotation(
|
||||
|
@ -2456,7 +2455,6 @@ fn constrain_typed_def(
|
|||
signature_closure_type_index,
|
||||
))
|
||||
};
|
||||
let signature_index = constraints.push_type(signature);
|
||||
let cons = [
|
||||
constraints.let_constraint(
|
||||
[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue