Skip to content

Commit

Permalink
remove incorrect code
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <18012015693@163.com>
  • Loading branch information
He1pa committed Jun 4, 2024
1 parent e392979 commit b2d98a4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kclvm/sema/src/resolver/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,14 +599,6 @@ impl DependencyGraph {
}
}
}
for module in main_modules {
let result = self.invalidate_module(module)?;
for pkg in result {
invalidated_set.insert(pkg);
}
self.remove_dependency_from_pkg(&module.filename);
self.add_new_module(module);
}
}
Ok(invalidated_set)
}
Expand Down

0 comments on commit b2d98a4

Please sign in to comment.