fix(codegen): Add tracing when checking for a constr vs another primitive

This commit is contained in:
microproofs
2024-03-17 16:25:17 -04:00
parent d1ba8db889
commit 61936cb91e
43 changed files with 189 additions and 51 deletions

View File

@@ -1193,7 +1193,16 @@ pub fn unknown_data_to_type_debug(
} else if field_type.is_ml_result() {
panic!("ML Result not supported")
} else {
term
Term::var("__val")
.delayed_choose_data(
Term::var("__val"),
error_term.clone(),
error_term.clone(),
error_term.clone(),
error_term.clone(),
)
.lambda("__val")
.apply(term)
}
}