Don't regenerate anonymous function symbols

This commit is contained in:
Richard Feldman 2020-05-09 12:56:55 -04:00
parent ca0b6fde31
commit 6a79a75648
2 changed files with 63 additions and 59 deletions

View file

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