Dict.insert WIP

This commit is contained in:
Folkert 2021-02-13 23:32:01 +01:00
parent 84e4cbc859
commit b2e626ab0c
2 changed files with 141 additions and 32 deletions

View file

@ -812,7 +812,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
// Dict.values : Dict k v -> List v
add_type(
Symbol::DICT_KEYS,
Symbol::DICT_VALUES,
top_level_function(
vec![dict_type(flex(TVAR1), flex(TVAR2))],
Box::new(list_type(flex(TVAR2))),