mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix: canonicalize path
This commit is contained in:
parent
072d62f7b3
commit
7e58b59914
5 changed files with 87 additions and 29 deletions
|
@ -52,7 +52,7 @@ impl SharedCompilerResource {
|
|||
|
||||
pub fn inherit(&self, path: PathBuf) -> Self {
|
||||
let mut _self = self.clone();
|
||||
_self.promises.path = path;
|
||||
_self.promises.path = path.into();
|
||||
_self
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue