mirror of
https://github.com/google/gn-language-server.git
synced 2025-12-23 12:26:43 +00:00
cargo fmt
Some checks are pending
CI / lint (push) Waiting to run
CI / build (darwin-arm64) (push) Waiting to run
CI / build (linux-x64) (push) Waiting to run
CI / build (win32-x64) (push) Waiting to run
CI / attestation (push) Blocked by required conditions
CI / upload-release-artifacts (push) Blocked by required conditions
CI / publish-vscode (push) Blocked by required conditions
CI / publish-cargo (push) Blocked by required conditions
Some checks are pending
CI / lint (push) Waiting to run
CI / build (darwin-arm64) (push) Waiting to run
CI / build (linux-x64) (push) Waiting to run
CI / build (win32-x64) (push) Waiting to run
CI / attestation (push) Blocked by required conditions
CI / upload-release-artifacts (push) Blocked by required conditions
CI / publish-vscode (push) Blocked by required conditions
CI / publish-cargo (push) Blocked by required conditions
This commit is contained in:
parent
eb9830634c
commit
c4ddda25c4
2 changed files with 6 additions and 2 deletions
|
|
@ -401,7 +401,11 @@ impl WorkspaceAnalyzer {
|
|||
let path = self
|
||||
.context
|
||||
.resolve_path(name, document.path.parent().unwrap());
|
||||
return AnalyzedStatement::Import(Box::new(AnalyzedImport { call, name, path }));
|
||||
return AnalyzedStatement::Import(Box::new(AnalyzedImport {
|
||||
call,
|
||||
name,
|
||||
path,
|
||||
}));
|
||||
}
|
||||
None
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ use crate::{
|
|||
WorkspaceAnalyzer,
|
||||
},
|
||||
common::builtins::{BUILTINS, DEFINED},
|
||||
diagnostics::{DIAGNOSTIC_CODE_UNDEFINED, DiagnosticDataUndefined},
|
||||
diagnostics::{DiagnosticDataUndefined, DIAGNOSTIC_CODE_UNDEFINED},
|
||||
parser::{Expr, Identifier, LValue, PrimaryExpr},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue