Fix bug in unifying records

This was leading us to have an infinitely-recursive type, which eventually causes layout to stack-overflow

Fixes #4739
This commit is contained in:
Joshua Warner 2022-12-15 19:12:12 -08:00
parent faaa466c70
commit 174f7d5e4d
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
5 changed files with 191 additions and 13 deletions

View file

@ -63,6 +63,8 @@ where
.pretty(80)
.to_string();
eprintln!("Full source: {}", src);
let interpolated_docs = stack(
f,
docs.into_iter()