mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix test_derive
This commit is contained in:
parent
836240f158
commit
1cd7f8baf1
1 changed files with 9 additions and 2 deletions
|
@ -378,6 +378,7 @@ fn check_derived_typechecks_and_golden(
|
|||
);
|
||||
let mut def_types = Default::default();
|
||||
let mut rigid_vars = Default::default();
|
||||
let mut flex_vars = Default::default();
|
||||
let (import_variables, abilities_store) = add_imports(
|
||||
test_module,
|
||||
&mut constraints,
|
||||
|
@ -386,9 +387,15 @@ fn check_derived_typechecks_and_golden(
|
|||
&exposed_for_module,
|
||||
&mut def_types,
|
||||
&mut rigid_vars,
|
||||
&mut flex_vars,
|
||||
);
|
||||
let constr = constraints.let_import_constraint(
|
||||
rigid_vars,
|
||||
flex_vars,
|
||||
def_types,
|
||||
constr,
|
||||
&import_variables,
|
||||
);
|
||||
let constr =
|
||||
constraints.let_import_constraint(rigid_vars, def_types, constr, &import_variables);
|
||||
|
||||
// run the solver, print and fail if we have errors
|
||||
dbg_do!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue