Close tag unions that are in the left hand side of an assignment

This commit is contained in:
ayazhafiz 2021-12-30 19:49:50 -06:00
parent 0c81302d29
commit 8e7ca57458
3 changed files with 69 additions and 10 deletions

View file

@ -1144,7 +1144,7 @@ fn constrain_def_pattern(env: &Env, loc_pattern: &Loc<Pattern>, expr_type: Type)
loc_pattern.region,
pattern_expected,
&mut state,
false,
true,
);
state