mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
fix(els): file operation bugs
This commit is contained in:
parent
863f1f2fdb
commit
6c665157bc
6 changed files with 73 additions and 70 deletions
|
@ -541,7 +541,7 @@ impl<Checker: BuildRunnable> Server<Checker> {
|
|||
.get(uri)?
|
||||
.object
|
||||
.as_ref()
|
||||
.map(|hir| HIRVisitor::new(hir, uri.clone(), !cfg!(feature = "py_compat")))
|
||||
.map(|hir| HIRVisitor::new(hir, &self.file_cache, uri.clone()))
|
||||
}
|
||||
|
||||
pub(crate) fn get_local_ctx(&self, uri: &NormalizedUrl, pos: Position) -> Vec<&Context> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue