Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality

This commit is contained in:
Folkert 2021-07-31 22:59:01 +02:00
commit a47f9baef4
16 changed files with 352 additions and 237 deletions

View file

@ -995,8 +995,8 @@ fn unify_flat_type(
}
(Record(fields1, ext1), Record(fields2, ext2)) => {
let rec1 = gather_fields(subs, fields1.clone(), *ext1);
let rec2 = gather_fields(subs, fields2.clone(), *ext2);
let rec1 = gather_fields(subs, fields1, *ext1);
let rec2 = gather_fields(subs, fields2, *ext2);
unify_record(subs, pool, ctx, rec1, rec2)
}