mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Don't regenerate anonymous function symbols
This commit is contained in:
parent
ca0b6fde31
commit
6a79a75648
2 changed files with 63 additions and 59 deletions
|
@ -408,9 +408,9 @@ fn gen(
|
|||
Closure(annotation, _, _, loc_args, boxed_body) => {
|
||||
let (loc_body, ret_var) = *boxed_body;
|
||||
|
||||
procs.insert_closure(
|
||||
procs.insert_named(
|
||||
&mut mono_env,
|
||||
Some(symbol),
|
||||
symbol,
|
||||
annotation,
|
||||
loc_args,
|
||||
loc_body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue