Unresolved type var for list map unbound function

This commit is contained in:
ayazhafiz 2022-07-05 23:37:22 -04:00 committed by Ayaz Hafiz
parent 937b73b797
commit aa90c3dfb6
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1693,3 +1693,13 @@ fn call_function_in_empty_list() {
"#
)
}
#[mono_test]
fn call_function_in_empty_list_unbound() {
indoc!(
r#"
lst = []
List.map lst \f -> f {}
"#
)
}