work around universally quantified type variable

This commit is contained in:
Folkert 2023-02-18 18:12:32 +01:00
parent aac8c76c5f
commit bece06ba10
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -1887,7 +1887,7 @@ fn first_wildcard_empty_list() {
assert_evals_to!(
indoc!(
r#"
List.first []
List.last [] |> Result.map (\_ -> 0i64)
"#
),
RocResult::err(()),
@ -1932,7 +1932,7 @@ fn last_wildcard_empty_list() {
assert_evals_to!(
indoc!(
r#"
List.last []
List.last [] |> Result.map (\_ -> 0i64)
"#
),
RocResult::err(()),