mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Close tag unions that are in the left hand side of an assignment
This commit is contained in:
parent
0c81302d29
commit
8e7ca57458
3 changed files with 69 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue