mirror of
https://github.com/roc-lang/roc.git
synced 2024-08-16 22:30:58 +03:00
clippy
This commit is contained in:
parent
1a5e065055
commit
99ca3f545f
@ -290,7 +290,7 @@ pub fn unwrap_suffixed_expression_apply_help<'a>(
|
||||
|
||||
// Any suffixed arguments will be innermost, therefore we unwrap those first
|
||||
let local_args = arena.alloc_slice_copy(apply_args);
|
||||
for (_, arg) in local_args.iter_mut().enumerate() {
|
||||
for arg in local_args.iter_mut() {
|
||||
match unwrap_suffixed_expression(arena, arg, maybe_def_pat) {
|
||||
Ok(new_arg) => {
|
||||
*arg = new_arg;
|
||||
|
@ -335,6 +335,8 @@ pub fn helper<'a>(
|
||||
let (main_fn_name, delayed_errors, module) =
|
||||
create_llvm_module(arena, src, config, context, target, function_kind);
|
||||
|
||||
//module.print_to_file(std::path::Path::new("/home/username/gitrepos/roc4/roc/str_to_u128.ll")).unwrap();
|
||||
|
||||
if !config.emit_debug_info {
|
||||
module.strip_debug_info();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user