mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Combine work in load update Header
This commit is contained in:
parent
87a279dc2c
commit
a2b76fc8c3
1 changed files with 2 additions and 5 deletions
|
@ -2336,13 +2336,10 @@ fn update<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
work.insert((home, Phase::Parse));
|
||||
|
||||
state.module_cache.headers.insert(header.module_id, header);
|
||||
|
||||
start_tasks(arena, &mut state, work, injector, worker_listeners)?;
|
||||
|
||||
let work = state.dependencies.notify(home, Phase::LoadHeader);
|
||||
work.extend(state.dependencies.notify(home, Phase::LoadHeader));
|
||||
work.insert((home, Phase::Parse));
|
||||
|
||||
start_tasks(arena, &mut state, work, injector, worker_listeners)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue