This commit is contained in:
Anton-4 2024-04-16 20:02:08 +02:00
parent 1a5e065055
commit 99ca3f545f
No known key found for this signature in database
GPG Key ID: 0971D718C0A9B937
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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();
}