mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
hashing always returns a U64
This commit is contained in:
parent
fdd34a5d3e
commit
727222bbe7
@ -985,11 +985,11 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
||||
|
||||
// Dict module
|
||||
|
||||
// Dict.hashTestOnly : Nat, v -> Nat
|
||||
// Dict.hashTestOnly : U64, v -> U64
|
||||
add_top_level_function_type!(
|
||||
Symbol::DICT_TEST_HASH,
|
||||
vec![u64_type(), flex(TVAR2)],
|
||||
Box::new(nat_type())
|
||||
Box::new(u64_type())
|
||||
);
|
||||
|
||||
// len : Dict * * -> Nat
|
||||
|
Loading…
Reference in New Issue
Block a user