Skip to content

Commit bfa429a

Browse files
committed
Update link_hir.rs
1 parent 821ea2a commit bfa429a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/erg_compiler/link_hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ impl<'a> HIRLinker<'a> {
477477
let path = dir.to_string_lossy().replace(['/', '\\'], ".");
478478
let token = Token::new_fake(
479479
TokenKind::StrLit,
480-
path,
480+
format!("\"{path}\""),
481481
mod_name_lit.ln_begin().unwrap(),
482482
mod_name_lit.col_begin().unwrap(),
483483
mod_name_lit.col_end().unwrap(),

0 commit comments

Comments
 (0)