mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
parse_and_constrain doesn't need to own module_ids
This commit is contained in:
parent
b8eff12767
commit
1c49a95e64
1 changed files with 3 additions and 3 deletions
|
@ -1599,7 +1599,7 @@ fn run_solve<'a>(
|
|||
fn parse_and_constrain<'a>(
|
||||
header: ModuleHeader<'a>,
|
||||
mode: Mode,
|
||||
module_ids: ModuleIds,
|
||||
module_ids: &ModuleIds,
|
||||
dep_idents: IdentIdsByModule,
|
||||
exposed_symbols: MutSet<Symbol>,
|
||||
) -> Result<Msg<'a>, LoadingProblem> {
|
||||
|
@ -1620,7 +1620,7 @@ fn parse_and_constrain<'a>(
|
|||
&arena,
|
||||
parsed_defs,
|
||||
module_id,
|
||||
&module_ids,
|
||||
module_ids,
|
||||
header.exposed_ident_ids,
|
||||
dep_idents,
|
||||
header.exposed_imports,
|
||||
|
@ -1841,7 +1841,7 @@ fn run_task<'a>(
|
|||
module_ids,
|
||||
dep_idents,
|
||||
exposed_symbols,
|
||||
} => parse_and_constrain(header, mode, module_ids, dep_idents, exposed_symbols),
|
||||
} => parse_and_constrain(header, mode, &module_ids, dep_idents, exposed_symbols),
|
||||
Solve {
|
||||
module,
|
||||
module_timing,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue