mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Fix types
This commit is contained in:
parent
00730be6fb
commit
016862ca28
4 changed files with 10 additions and 1 deletions
|
@ -543,7 +543,11 @@ where
|
|||
#[cfg(feature = "gen-llvm-wasm")]
|
||||
macro_rules! assert_wasm_evals_to {
|
||||
($src:expr, $expected:expr, $ty:ty, $transform:expr, $ignore_problems:expr) => {
|
||||
match $crate::helpers::llvm::assert_wasm_evals_to_help::<$ty>($src, $ignore_problems) {
|
||||
match $crate::helpers::llvm::assert_wasm_evals_to_help::<$ty>(
|
||||
$src,
|
||||
$ignore_problems,
|
||||
roc_load::FunctionKind::LambdaSet,
|
||||
) {
|
||||
Err(msg) => panic!("Wasm test failed: {}", msg),
|
||||
Ok(actual) => {
|
||||
assert_eq!($transform(actual), $expected, "Wasm test failed")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue