mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-27 19:59:07 +00:00
fix: trait impl bugs (2)
This commit is contained in:
parent
017b13f07b
commit
40b53a3e81
4 changed files with 61 additions and 25 deletions
|
@ -171,7 +171,7 @@ impl SharedPromises {
|
|||
}
|
||||
|
||||
pub fn wait_until_finished(&self, path: &NormalizedPathBuf) {
|
||||
if self.promises.borrow().get(path).is_none() {
|
||||
if !self.graph.entries().contains(path) {
|
||||
panic!("not registered: {path}");
|
||||
}
|
||||
while !self.is_finished(path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue