Skip to content

Commit

Permalink
Update link_hir.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Sep 11, 2023
1 parent 821ea2a commit bfa429a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/erg_compiler/link_hir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ impl<'a> HIRLinker<'a> {
let path = dir.to_string_lossy().replace(['/', '\\'], ".");
let token = Token::new_fake(
TokenKind::StrLit,
path,
format!("\"{path}\""),
mod_name_lit.ln_begin().unwrap(),
mod_name_lit.col_begin().unwrap(),
mod_name_lit.col_end().unwrap(),
Expand Down

0 comments on commit bfa429a

Please sign in to comment.