mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Correctly use module name in linked functions
This commit is contained in:
parent
7ef03440ef
commit
29b37a10df
7 changed files with 33 additions and 36 deletions
|
@ -114,13 +114,7 @@ pub fn build_file<'a>(
|
|||
.exposed_to_host
|
||||
.values
|
||||
.keys()
|
||||
.map(|x| {
|
||||
format!(
|
||||
"{}.{}",
|
||||
x.module_string(&loaded.interns),
|
||||
x.as_str(&loaded.interns)
|
||||
)
|
||||
})
|
||||
.map(|x| x.as_str(&loaded.interns).to_string())
|
||||
.collect();
|
||||
|
||||
let exposed_closure_types = loaded
|
||||
|
@ -129,7 +123,7 @@ pub fn build_file<'a>(
|
|||
.iter()
|
||||
.map(|x| {
|
||||
format!(
|
||||
"{}.{}",
|
||||
"{}_{}",
|
||||
x.module_string(&loaded.interns),
|
||||
x.as_str(&loaded.interns)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue