mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Fix ROC_PRINT_UNIFICATIONS_DERIVED
This commit is contained in:
parent
a276578642
commit
66f75b86ee
1 changed files with 5 additions and 1 deletions
|
@ -324,7 +324,7 @@ fn check_derived_typechecks_and_golden(
|
||||||
// run the solver, print and fail if we have errors
|
// run the solver, print and fail if we have errors
|
||||||
dbg_do!(
|
dbg_do!(
|
||||||
roc_debug_flags::ROC_PRINT_UNIFICATIONS_DERIVED,
|
roc_debug_flags::ROC_PRINT_UNIFICATIONS_DERIVED,
|
||||||
std::env::set_var(roc_debug_flags::ROC_PRINT_UNIFICATIONS_DERIVED, "1")
|
std::env::set_var(roc_debug_flags::ROC_PRINT_UNIFICATIONS, "1")
|
||||||
);
|
);
|
||||||
let (mut solved_subs, _, problems, _) = roc_solve::module::run_solve(
|
let (mut solved_subs, _, problems, _) = roc_solve::module::run_solve(
|
||||||
test_module,
|
test_module,
|
||||||
|
@ -338,6 +338,10 @@ fn check_derived_typechecks_and_golden(
|
||||||
&exposed_for_module.exposed_by_module,
|
&exposed_for_module.exposed_by_module,
|
||||||
Default::default(),
|
Default::default(),
|
||||||
);
|
);
|
||||||
|
dbg_do!(
|
||||||
|
roc_debug_flags::ROC_PRINT_UNIFICATIONS_DERIVED,
|
||||||
|
std::env::set_var(roc_debug_flags::ROC_PRINT_UNIFICATIONS, "0")
|
||||||
|
);
|
||||||
let subs = solved_subs.inner_mut();
|
let subs = solved_subs.inner_mut();
|
||||||
|
|
||||||
if !problems.is_empty() {
|
if !problems.is_empty() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue