update env with rigids from current signature

This commit is contained in:
Folkert 2022-05-11 13:21:45 +02:00
parent 37cdc9fd70
commit 886682c745
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -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?