Push implicit openness vars through

This commit is contained in:
Ayaz Hafiz 2023-01-13 11:13:00 -06:00
parent 96b2b7a0c5
commit 5fceb9ceb7
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
5 changed files with 190 additions and 95 deletions

View file

@ -578,7 +578,7 @@ pub fn constrain_pattern(
let record_type = {
let typ = types.from_old_type(&Type::Record(
field_types,
TypeExtension::from_type(ext_type),
TypeExtension::from_non_annotation_type(ext_type),
));
constraints.push_type(types, typ)
};