Correctly use module name in linked functions

This commit is contained in:
Ayaz Hafiz 2022-07-20 23:17:54 -05:00 committed by Ayaz Hafiz
parent 7ef03440ef
commit 29b37a10df
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
7 changed files with 33 additions and 36 deletions

View file

@ -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)
)