mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
make things compile, base64 has a memory leak
This commit is contained in:
parent
c6a8bdfdbe
commit
94e8c62613
12 changed files with 99 additions and 104 deletions
|
@ -793,7 +793,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
list_type(flex(TVAR1)),
|
||||
flex(TVAR2),
|
||||
closure(
|
||||
vec![flex(TVAR1), flex(TVAR2)],
|
||||
vec![flex(TVAR2), flex(TVAR1)],
|
||||
TVAR3,
|
||||
Box::new(until_type(flex(TVAR2))),
|
||||
),
|
||||
|
@ -1173,13 +1173,13 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
Box::new(set_type(flex(TVAR1))),
|
||||
);
|
||||
|
||||
// Set.walk : Set a, (a, b -> b), b -> b
|
||||
// Set.walk : Set a, (b, a -> b), b -> b
|
||||
add_top_level_function_type!(
|
||||
Symbol::SET_WALK,
|
||||
vec![
|
||||
set_type(flex(TVAR1)),
|
||||
closure(vec![flex(TVAR1), flex(TVAR2)], TVAR3, Box::new(flex(TVAR2))),
|
||||
flex(TVAR2),
|
||||
closure(vec![flex(TVAR2), flex(TVAR1)], TVAR3, Box::new(flex(TVAR2))),
|
||||
],
|
||||
Box::new(flex(TVAR2)),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue