Weaken records in let-bindings

This change also means we must update the interface of `Dict.empty` and
`Set.empty` from

```
Dict.empty : Dict k v
```

to

```
Dict.empty : {} -> Dict k v
```
This commit is contained in:
Ayaz Hafiz 2023-01-12 10:48:09 -06:00 committed by Folkert
parent 61ac9bf9b2
commit b8712bcb30
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
9 changed files with 70 additions and 75 deletions

View file

@ -8476,10 +8476,10 @@ mod solve_expr {
main =
s1 : Set U8
s1 = Set.empty
s1 = Set.empty {}
s2 : Set Str
s2 = Set.empty
s2 = Set.empty {}
Bool.isEq s1 s1 && Bool.isEq s2 s2
# ^^^^^^^^^ ^^^^^^^^^