mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
use IdentStr
This commit is contained in:
parent
bd35770e9a
commit
ceb5cc66fa
30 changed files with 241 additions and 219 deletions
|
@ -59,7 +59,7 @@ pub fn generate(filenames: Vec<PathBuf>, std_lib: StdLib, build_dir: &Path) {
|
|||
let exposed_values = loaded_module
|
||||
.exposed_values
|
||||
.iter()
|
||||
.map(|symbol| symbol.ident_string(&loaded_module.interns).to_string())
|
||||
.map(|symbol| symbol.ident_str(&loaded_module.interns).to_string())
|
||||
.collect::<Vec<String>>();
|
||||
|
||||
(exposed_values, d)
|
||||
|
@ -77,7 +77,7 @@ pub fn generate(filenames: Vec<PathBuf>, std_lib: StdLib, build_dir: &Path) {
|
|||
|
||||
// TODO should this also include exposed_aliases?
|
||||
for symbol in loaded_module.exposed_values.iter() {
|
||||
exports.push(symbol.ident_string(&loaded_module.interns));
|
||||
exports.push(symbol.ident_str(&loaded_module.interns));
|
||||
}
|
||||
|
||||
let exports = exports.into_bump_slice();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue