mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
fix test hanging forever
This commit is contained in:
parent
171e0358f3
commit
0166a4d915
7 changed files with 66 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::llvm::build_dict::dict_len;
|
||||
use crate::llvm::build_dict::{dict_len, dict_empty};
|
||||
use crate::llvm::build_hash::hash;
|
||||
use crate::llvm::build_list::{
|
||||
allocate_list, empty_list, empty_polymorphic_list, list_append, list_concat, list_contains,
|
||||
|
@ -3854,7 +3854,14 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
|
||||
hash(env, value, layout)
|
||||
}
|
||||
DictSize => dict_len(env, scope, args[0]),
|
||||
DictSize => {
|
||||
debug_assert_eq!(args.len(), 1);
|
||||
dict_len(env, scope, args[0])
|
||||
}
|
||||
DictEmpty => {
|
||||
debug_assert_eq!(args.len(), 0);
|
||||
dict_empty(env, scope)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue