mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
appease the paperclip
This commit is contained in:
parent
457ba524aa
commit
2ca1ebdd2d
2 changed files with 3 additions and 6 deletions
|
@ -1034,7 +1034,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
add_top_level_function_type!(
|
||||
Symbol::LIST_GET,
|
||||
vec![list_type(flex(TVAR1)), nat_type()],
|
||||
Box::new(result_type(flex(TVAR1), index_out_of_bounds.clone())),
|
||||
Box::new(result_type(flex(TVAR1), index_out_of_bounds)),
|
||||
);
|
||||
|
||||
// first : List elem -> Result elem [ ListWasEmpty ]*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue