mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Make sure to apply "is-open" constraints at the very end of pattern constraining
Closes #3298
This commit is contained in:
parent
613606a67d
commit
13b0ce7ca0
5 changed files with 85 additions and 62 deletions
|
@ -498,9 +498,6 @@ pub fn constrain_pattern(
|
|||
state.vars.push(*ext_var);
|
||||
state.constraints.push(whole_con);
|
||||
state.constraints.push(tag_con);
|
||||
state
|
||||
.constraints
|
||||
.append(&mut state.delayed_is_open_constraints);
|
||||
}
|
||||
|
||||
UnwrappedOpaque {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue