mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
fix(els): SharedPromises::join bug
This commit is contained in:
parent
c34e013658
commit
b2b7f9cfd0
3 changed files with 14 additions and 9 deletions
|
@ -73,7 +73,7 @@ impl Context {
|
|||
}
|
||||
if self.shared.is_some() && self.promises().is_registered(&path) && !self.mod_cached(&path)
|
||||
{
|
||||
let _result = self.promises().join(&path);
|
||||
let _result = self.promises().join(&path, &self.cfg);
|
||||
}
|
||||
self.opt_mod_cache()?
|
||||
.raw_ref_ctx(&path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue