First pass at supporting multimorphic lambdas in lambda sets

This commit is contained in:
Ayaz Hafiz 2022-06-28 12:13:53 -04:00 committed by ayazhafiz
parent 1c40ad6127
commit 51978e08ed
No known key found for this signature in database
GPG key ID: B443F7A3030C9AED
14 changed files with 1061 additions and 355 deletions

View file

@ -4185,7 +4185,7 @@ fn build_procedures_help<'a, 'ctx, 'env>(
// only have top-level thunks for this proc's module in scope
// this retain is not needed for correctness, but will cause less confusion when debugging
let home = proc.name.module_id();
let home = proc.name.call_name().module_id();
current_scope.retain_top_level_thunks_for_module(home);
build_proc(
@ -4559,7 +4559,7 @@ pub fn build_proc<'a, 'ctx, 'env>(
}
};
let ident_string = proc.name.as_str(&env.interns);
let ident_string = proc.name.call_name().as_str(&env.interns);
let fn_name: String = format!("{}_1", ident_string);
build_closure_caller(