[fine] export, dump source map, lookup fix

This commit is contained in:
John Doty 2024-02-15 06:29:56 -08:00
parent a3ae4339cf
commit a21f18da6e
4 changed files with 65 additions and 16 deletions

View file

@ -41,17 +41,10 @@ impl ModuleLoader for StandardModuleLoader {
let result = match std::fs::canonicalize(&p) {
Ok(p) => match p.into_os_string().into_string() {
Ok(s) => s,
Err(_e) => {
eprintln!("ERROR INTO OS STRING: {}", _e.to_string_lossy());
name.clone()
}
Err(_e) => name.clone(),
},
Err(_e) => {
eprintln!("ERROR CANONICAL {}: {_e}", p.display());
name.clone()
}
Err(_e) => name.clone(),
};
eprintln!("**** {source} {name} => {result}");
result
}