mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-03 18:29:00 +00:00
fix: nested module resolution bug
This commit is contained in:
parent
83aae24317
commit
ded10fc3d9
7 changed files with 51 additions and 24 deletions
|
@ -277,6 +277,10 @@ impl SharedModuleGraph {
|
|||
self.0.borrow_mut().sort()
|
||||
}
|
||||
|
||||
pub fn entries(&self) -> Set<NormalizedPathBuf> {
|
||||
self.0.borrow().iter().map(|n| n.id.clone()).collect()
|
||||
}
|
||||
|
||||
pub fn initialize(&self) {
|
||||
self.0.borrow_mut().initialize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue