mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-21 19:19:45 +00:00
make Set/Dict mostly work
This commit is contained in:
parent
4d33e32078
commit
79f8ae4e69
6 changed files with 107 additions and 57 deletions
|
@ -4347,7 +4347,7 @@ fn canonicalize_and_constrain<'a>(
|
|||
// do nothing
|
||||
}
|
||||
Vacant(vacant) => {
|
||||
if name == Symbol::DICT_DICT {
|
||||
if name == Symbol::DICT_DICT || name == Symbol::SET_SET {
|
||||
vacant.insert((false, alias));
|
||||
} else if !name.is_builtin() || name.module_id() == ModuleId::ENCODE {
|
||||
vacant.insert((false, alias));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue