mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
fix: bugs
This commit is contained in:
parent
33e1b776cb
commit
ced04e5d6a
8 changed files with 71 additions and 65 deletions
|
@ -95,7 +95,7 @@ impl<Checker: BuildRunnable> Server<Checker> {
|
|||
let mut result = vec![];
|
||||
if let Some(IncompleteArtifact {
|
||||
object: Some(hir), ..
|
||||
}) = self.artifacts.get(&uri)
|
||||
}) = self.artifacts.get(&uri).map(|r| &r.artifact)
|
||||
{
|
||||
for chunk in hir.module.iter() {
|
||||
result.extend(self.get_expr_hint(chunk));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue