This commit is contained in:
Luke Boswell 2024-04-02 14:24:47 +11:00
parent 584d41f621
commit 69a3a3c477
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
2 changed files with 3 additions and 5 deletions

View file

@ -197,7 +197,7 @@ fn desugar_defs_node_suffixed<'a>(
value: Var {
module_name: ModuleName::TASK,
ident: "await",
suffixed: 0, // TODO this isn't right
suffixed: 0,
},
}),
arena.alloc(task_await_apply_args),
@ -252,7 +252,7 @@ fn desugar_defs_node_suffixed<'a>(
value: Var {
module_name: ModuleName::TASK,
ident: "await",
suffixed: 0, // TODO this isn't right
suffixed: 0,
},
}),
arena.alloc(task_await_apply_args),
@ -310,7 +310,7 @@ fn desugar_defs_node_suffixed<'a>(
value: Var {
module_name: ModuleName::TASK,
ident: "await",
suffixed: 0, // TODO this isn't right
suffixed: 0,
},
}),
arena.alloc(task_await_apply_args),
@ -631,7 +631,6 @@ pub fn desugar_expr<'a>(
arena.alloc(Loc::at(loc_expr.region, Defs(arena.alloc(defs), loc_ret))),
)
// arena.alloc(Loc::at(loc_ret.region, Defs(arena.alloc(defs), loc_ret)))
}
Apply(loc_fn, loc_args, called_via) => {
let mut desugared_args = Vec::with_capacity_in(loc_args.len(), arena);

View file

@ -699,7 +699,6 @@ pub fn parse_single_def<'a>(
spaces_before_current,
);
// dbg!("parse_single_def", &loc_pattern, min_indent, operator_result_state.clone(), &result);
return result;
};