mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
First pass at supporting multimorphic lambdas in lambda sets
This commit is contained in:
parent
1c40ad6127
commit
51978e08ed
14 changed files with 1061 additions and 355 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue