mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-04 17:14:37 +00:00
update env with rigids from current signature
This commit is contained in:
parent
37cdc9fd70
commit
886682c745
1 changed files with 5 additions and 0 deletions
|
|
@ -1198,6 +1198,11 @@ fn constrain_function_def(
|
|||
&mut ftv,
|
||||
);
|
||||
|
||||
let env = &Env {
|
||||
home: env.home,
|
||||
rigids: ftv,
|
||||
};
|
||||
|
||||
let loc_pattern = Loc::at(loc_symbol.region, Pattern::Identifier(loc_symbol.value));
|
||||
|
||||
// TODO missing equality of annotation_expected with expr_var?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue