mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
use unused values
This commit is contained in:
parent
e0468363fb
commit
21ff434fe3
1 changed files with 8 additions and 1 deletions
|
@ -2054,10 +2054,13 @@ fn update<'a>(
|
||||||
solved_subs,
|
solved_subs,
|
||||||
ident_ids,
|
ident_ids,
|
||||||
layout_cache,
|
layout_cache,
|
||||||
problems: _,
|
problems,
|
||||||
module_timing,
|
module_timing,
|
||||||
} => {
|
} => {
|
||||||
log!("found specializations for {:?}", module_id);
|
log!("found specializations for {:?}", module_id);
|
||||||
|
|
||||||
|
debug_assert!(problems.is_empty());
|
||||||
|
|
||||||
let subs = solved_subs.into_inner();
|
let subs = solved_subs.into_inner();
|
||||||
|
|
||||||
state
|
state
|
||||||
|
@ -2098,10 +2101,14 @@ fn update<'a>(
|
||||||
external_specializations_requested,
|
external_specializations_requested,
|
||||||
problems,
|
problems,
|
||||||
module_timing,
|
module_timing,
|
||||||
|
layout_cache,
|
||||||
..
|
..
|
||||||
} => {
|
} => {
|
||||||
log!("made specializations for {:?}", module_id);
|
log!("made specializations for {:?}", module_id);
|
||||||
|
|
||||||
|
// in the future, layouts will be in SoA form and we'll want to hold on to this data
|
||||||
|
let _ = layout_cache;
|
||||||
|
|
||||||
state.module_cache.mono_problems.insert(module_id, problems);
|
state.module_cache.mono_problems.insert(module_id, problems);
|
||||||
|
|
||||||
state.procedures.extend(procedures);
|
state.procedures.extend(procedures);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue