appease the paperclip

This commit is contained in:
Brendan Hansknecht 2022-02-27 15:50:19 -08:00
parent 457ba524aa
commit 2ca1ebdd2d
2 changed files with 3 additions and 6 deletions

View file

@ -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 ]*