mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Add some tracing for debug purposes
This commit is contained in:
parent
6e64bfc513
commit
15f66e3eaa
3 changed files with 4 additions and 0 deletions
|
@ -653,6 +653,8 @@ impl<'a> Env<'a> {
|
|||
}
|
||||
|
||||
fn add_type(&mut self, var: Variable, types: &mut Types) -> TypeId {
|
||||
roc_tracing::debug!(content=?roc_types::subs::SubsFmtContent(self.subs.get_content_without_compacting(var), self.subs), "adding type");
|
||||
|
||||
let layout = self
|
||||
.layout_cache
|
||||
.from_var(self.arena, var, self.subs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue