From d3419f7d147b8c362a3795c8284d55ff6f4f3492 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 31 Jul 2024 18:31:03 -0400 Subject: perf: update deno_ast to 0.41 (#24819) Some perf gains in swc (I measured formatting and it was slightly faster). Includes: * https://github.com/denoland/deno_graph/pull/508 * https://github.com/denoland/eszip/pull/193 --- cli/lsp/code_lens.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/lsp/code_lens.rs') 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" { -- cgit v1.2.3