mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
My bad
This commit is contained in:
parent
75f7f6e681
commit
3f0449292d
2 changed files with 2 additions and 3 deletions
|
@ -2137,11 +2137,10 @@ pub fn rec_defs_help(
|
|||
|
||||
let ((symbols, symbol_regions), expr_regions): ((Vec<_>, Vec<_>), Vec<_>) = defs
|
||||
.iter()
|
||||
.map(|def| {
|
||||
.flat_map(|def| {
|
||||
symbols_introduced_from_pattern(&def.loc_pattern)
|
||||
.map(move |loc_symbol| ((loc_symbol.value, loc_symbol.region), def.loc_expr.region))
|
||||
})
|
||||
.flatten()
|
||||
.unzip();
|
||||
|
||||
let cycle_constraint =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue