mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Add note about output
This commit is contained in:
parent
21661275d8
commit
11f29baf25
1 changed files with 3 additions and 0 deletions
|
@ -274,6 +274,9 @@ pub fn unify_pool(
|
|||
}
|
||||
}
|
||||
|
||||
/// Set `ROC_PRINT_UNIFICATIONS` in debug runs to print unifications as they start and complete as
|
||||
/// a tree to stderr.
|
||||
/// NOTE: Only run this on individual tests! Run on multiple threads, this would clobber each others' output.
|
||||
#[cfg(debug_assertions)]
|
||||
fn debug_print_unified_types(subs: &mut Subs, ctx: &Context, opt_outcome: Option<&Outcome>) {
|
||||
static mut UNIFICATION_DEPTH: usize = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue