remove unused function

This commit is contained in:
Folkert 2021-05-22 19:08:25 +02:00
parent ba804a97c7
commit 9b02165f00
4 changed files with 3 additions and 12 deletions

View file

@ -244,7 +244,7 @@ pub fn helper<'a>(
if proc.args.is_empty() {
// this is a 0-argument thunk, i.e. a top-level constant definition
// it must be in-scope everywhere in the module!
scope.insert_top_level_thunk_new(symbol, arena.alloc(layout), fn_val);
scope.insert_top_level_thunk(symbol, arena.alloc(layout), fn_val);
}
headers.push((proc, fn_val));