wasm: Fix List.map where the mapper has zero-size arguments

This commit is contained in:
Brian Carroll 2022-07-07 00:05:56 +01:00
parent 25a2eddf0f
commit c9a1600751
No known key found for this signature in database
GPG key ID: 9CF4E3BF9C4722C7
2 changed files with 48 additions and 39 deletions

View file

@ -2961,7 +2961,7 @@ fn with_capacity() {
}
#[test]
#[cfg(any(feature = "gen-llvm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn call_function_in_empty_list() {
assert_evals_to!(
indoc!(