mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-23 03:52:27 +00:00
Fix derive tests
This commit is contained in:
parent
a7b06fd7cf
commit
b782f013bd
3 changed files with 25 additions and 15 deletions
|
@ -2680,7 +2680,7 @@ fn finish_specialization(
|
|||
let mut all_ident_ids = state.constrained_ident_ids;
|
||||
|
||||
// Associate the ident IDs from the derived synth module
|
||||
let derived_synth_ident_ids = Arc::try_unwrap(state.derived_module)
|
||||
let (_, derived_synth_ident_ids) = Arc::try_unwrap(state.derived_module)
|
||||
.unwrap_or_else(|_| internal_error!("Outstanding references to the derived module"))
|
||||
.into_inner()
|
||||
.unwrap()
|
||||
|
@ -2805,7 +2805,7 @@ fn finish(
|
|||
.into_module_ids();
|
||||
|
||||
// Associate the ident IDs from the derived synth module
|
||||
let derived_synth_ident_ids = Arc::try_unwrap(state.derived_module)
|
||||
let (_, derived_synth_ident_ids) = Arc::try_unwrap(state.derived_module)
|
||||
.unwrap_or_else(|_| internal_error!("Outstanding references to the derived module"))
|
||||
.into_inner()
|
||||
.unwrap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue