mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Improve a comment
This commit is contained in:
parent
f4545e8bf7
commit
c97317789e
1 changed files with 2 additions and 2 deletions
|
@ -284,8 +284,8 @@ pub fn gen(
|
|||
let interns = &env.interns;
|
||||
|
||||
for symbol in exposed_symbols {
|
||||
// Since it was exposed, it will be monomorphic, so its LLVM name
|
||||
// will be ___#1 (e.g. "main#1")
|
||||
// Since it was exposed, it must have been monomorphic,
|
||||
// meaning its LLVM name will be ___#1 (e.g. "main#1")
|
||||
let fn_name = format!("{}#1", symbol.ident_string(interns));
|
||||
let fn_val = env.module.get_function(&fn_name).unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue