mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
remove unused function
This commit is contained in:
parent
ba804a97c7
commit
9b02165f00
4 changed files with 3 additions and 12 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue