mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Merge pull request #2971 from rtfeldman/no-mono-exhaustiveness
No more exhaustiveness checking in mono, nor mono errors
This commit is contained in:
commit
4074088a5e
30 changed files with 770 additions and 781 deletions
|
@ -663,7 +663,7 @@ fn fix_values_captured_in_closure_expr(
|
|||
}
|
||||
|
||||
// patterns can contain default expressions, so much go over them too!
|
||||
for (_, loc_pat) in arguments.iter_mut() {
|
||||
for (_, _, loc_pat) in arguments.iter_mut() {
|
||||
fix_values_captured_in_closure_pattern(&mut loc_pat.value, no_capture_symbols);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue