summaryrefslogtreecommitdiff
path: root/cli/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp')
-rw-r--r--cli/lsp/code_lens.rs2
-rw-r--r--cli/lsp/testing/collectors.rs8
2 files changed, 5 insertions, 5 deletions
diff --git a/cli/lsp/code_lens.rs b/cli/lsp/code_lens.rs
index 2996103be..e117888fb 100644
--- a/cli/lsp/code_lens.rs
+++ b/cli/lsp/code_lens.rs
@@ -107,7 +107,7 @@ impl DenoTestCollector {
for prop in &obj_lit.props {
if let ast::PropOrSpread::Prop(prop) = prop {
if let ast::Prop::KeyValue(key_value_prop) = prop.as_ref() {
- if let ast::PropName::Ident(ast::Ident { sym, .. }) =
+ if let ast::PropName::Ident(ast::IdentName { sym, .. }) =
&key_value_prop.key
{
if sym == "name" {
diff --git a/cli/lsp/testing/collectors.rs b/cli/lsp/testing/collectors.rs
index 7b00228df..2f2ddb877 100644
--- a/cli/lsp/testing/collectors.rs
+++ b/cli/lsp/testing/collectors.rs
@@ -147,7 +147,7 @@ fn visit_call_expr(
let ast::Prop::KeyValue(key_value_prop) = prop.as_ref() else {
continue;
};
- let ast::PropName::Ident(ast::Ident { sym, .. }) =
+ let ast::PropName::Ident(ast::IdentName { sym, .. }) =
&key_value_prop.key
else {
continue;
@@ -187,7 +187,7 @@ fn visit_call_expr(
};
match prop.as_ref() {
ast::Prop::KeyValue(key_value_prop) => {
- let ast::PropName::Ident(ast::Ident { sym, .. }) =
+ let ast::PropName::Ident(ast::IdentName { sym, .. }) =
&key_value_prop.key
else {
continue;
@@ -206,7 +206,7 @@ fn visit_call_expr(
}
}
ast::Prop::Method(method_prop) => {
- let ast::PropName::Ident(ast::Ident { sym, .. }) =
+ let ast::PropName::Ident(ast::IdentName { sym, .. }) =
&method_prop.key
else {
continue;
@@ -472,7 +472,7 @@ impl Visit for TestCollector {
collector: &mut TestCollector,
node: &ast::CallExpr,
range: &deno_ast::SourceRange,
- ns_prop_ident: &ast::Ident,
+ ns_prop_ident: &ast::IdentName,
member_expr: &ast::MemberExpr,
) {
if ns_prop_ident.sym == "test" {