mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
move back to one loc_symbols vector
This commit is contained in:
parent
3f0449292d
commit
7face320eb
4 changed files with 49 additions and 57 deletions
|
@ -2135,7 +2135,7 @@ pub fn rec_defs_help(
|
|||
flex_constraints,
|
||||
);
|
||||
|
||||
let ((symbols, symbol_regions), expr_regions): ((Vec<_>, Vec<_>), Vec<_>) = defs
|
||||
let (loc_symbols, expr_regions): (Vec<_>, Vec<_>) = defs
|
||||
.iter()
|
||||
.flat_map(|def| {
|
||||
symbols_introduced_from_pattern(&def.loc_pattern)
|
||||
|
@ -2143,8 +2143,7 @@ pub fn rec_defs_help(
|
|||
})
|
||||
.unzip();
|
||||
|
||||
let cycle_constraint =
|
||||
constraints.check_cycle(symbols, symbol_regions, expr_regions, cycle_mark);
|
||||
let cycle_constraint = constraints.check_cycle(loc_symbols, expr_regions, cycle_mark);
|
||||
|
||||
let rigid_constraints = {
|
||||
let mut temp = rigid_info.constraints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue