Debug non-reused recursive structures

This commit is contained in:
Ayaz Hafiz 2022-08-29 12:15:40 -05:00
parent e24cdb8272
commit c53719eb95
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1881,6 +1881,7 @@ impl<'a, 'b> Env<'a, 'b> {
// but this is not correct; the canonical layout of `[A, B (List r)] as r` is
//
// Recursive [Unit, (List RecursivePointer)]
roc_tracing::debug!(?var, "not reusing cached recursive structure");
return false;
}
}