mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
add variable to list
stores the list type, so we can know whether it is unique
This commit is contained in:
parent
4de573b54b
commit
b4c5c2f793
7 changed files with 118 additions and 30 deletions
|
@ -203,7 +203,7 @@ pub fn constrain_expr(
|
|||
List {
|
||||
elem_var,
|
||||
loc_elems,
|
||||
..
|
||||
list_var: _unused,
|
||||
} => {
|
||||
if loc_elems.is_empty() {
|
||||
exists(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue