mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
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:
parent
61ac9bf9b2
commit
b8712bcb30
9 changed files with 70 additions and 75 deletions
|
@ -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
|
||||
# ^^^^^^^^^ ^^^^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue