mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 20:14:45 +00:00
feat: add Frame
type
This commit is contained in:
parent
0a24c0cb77
commit
fc75151f2a
4 changed files with 32 additions and 2 deletions
|
@ -342,8 +342,6 @@ impl<Parser: ASTBuildable, Builder: Buildable> PackageBuilder<Parser, Builder> {
|
|||
graph.remove(&ancestor);
|
||||
if let Some((__name__, ancestor_ast)) = self.asts.remove(&ancestor) {
|
||||
self.start_analysis_process(ancestor_ast, __name__, ancestor);
|
||||
} else if !self.submodules.contains(&ancestor) {
|
||||
panic!("not found: {ancestor}");
|
||||
}
|
||||
} else {
|
||||
ancestors.insert(0, ancestor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue