mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
remove pub fn
This commit is contained in:
parent
ff3f231155
commit
61b7be7838
3 changed files with 4 additions and 13 deletions
|
@ -6075,10 +6075,7 @@ fn call_by_name<'a>(
|
|||
// exactly once.
|
||||
match &mut procs.pending_specializations {
|
||||
Some(pending_specializations) => {
|
||||
let is_imported = assigned.module_id() != proc_name.module_id();
|
||||
// builtins are currently (re)defined in each module, so not really imported
|
||||
let is_builtin = proc_name.is_builtin();
|
||||
if is_imported && !is_builtin {
|
||||
if env.is_imported_symbol(proc_name) {
|
||||
add_needed_external(procs, env, original_fn_var, proc_name);
|
||||
} else {
|
||||
// register the pending specialization, so this gets code genned later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue