mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Cleanup
This commit is contained in:
parent
5f8834d6b4
commit
afe49cf570
3 changed files with 5 additions and 22 deletions
|
@ -5,8 +5,7 @@ use roc_module::symbol::Symbol;
|
|||
use roc_types::subs::Content::{self, *};
|
||||
use roc_types::subs::{
|
||||
AliasVariables, Descriptor, ErrorTypeContext, FlatType, GetSubsSlice, Mark, OptVariable,
|
||||
RecordFields, Subs, SubsFmtContent, SubsIndex, SubsSlice, UnionTags, Variable,
|
||||
VariableSubsSlice,
|
||||
RecordFields, Subs, SubsIndex, SubsSlice, UnionTags, Variable, VariableSubsSlice,
|
||||
};
|
||||
use roc_types::types::{AliasKind, DoesNotImplementAbility, ErrorType, Mismatch, RecordField};
|
||||
|
||||
|
@ -295,6 +294,8 @@ pub fn unify_pool(
|
|||
/// 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>) {
|
||||
use roc_types::subs::SubsFmtContent;
|
||||
|
||||
static mut UNIFICATION_DEPTH: usize = 0;
|
||||
|
||||
if std::env::var("ROC_PRINT_UNIFICATIONS").is_ok() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue