We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb0c28b commit 617b31cCopy full SHA for 617b31c
crates/ark_test/src/dummy_frontend.rs
@@ -451,7 +451,7 @@ impl DummyArkFrontend {
451
write!(file, "{code}").unwrap();
452
453
let url = ExtUrl::from_file_path(file.path()).unwrap();
454
- let path = url.path().to_string();
+ let path = url.to_file_path().unwrap().to_string_lossy().to_string();
455
let uri = url.to_string();
456
let filename = file
457
.path()
@@ -667,7 +667,7 @@ impl SourceFile {
667
668
669
670
671
672
673
// Extract file name
0 commit comments