mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
implement Dict/Set completely in roc
This commit is contained in:
parent
d889f1fda9
commit
f9d8e01561
6 changed files with 124 additions and 38 deletions
|
@ -328,15 +328,7 @@ pub fn canonicalize_module_defs<'a>(
|
|||
panic!("TODO gracefully handle shadowing in imports.")
|
||||
}
|
||||
}
|
||||
} else if [
|
||||
Symbol::LIST_LIST,
|
||||
Symbol::STR_STR,
|
||||
Symbol::DICT_DICT,
|
||||
Symbol::SET_SET,
|
||||
Symbol::BOX_BOX_TYPE,
|
||||
]
|
||||
.contains(&symbol)
|
||||
{
|
||||
} else if [Symbol::LIST_LIST, Symbol::STR_STR, Symbol::BOX_BOX_TYPE].contains(&symbol) {
|
||||
// These are not aliases but Apply's and we make sure they are always in scope
|
||||
} else {
|
||||
// This is a type alias or ability
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue