mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Unresolved type var for list map unbound function
This commit is contained in:
parent
937b73b797
commit
aa90c3dfb6
1 changed files with 10 additions and 0 deletions
|
@ -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 {}
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue