From c56f2e0fc04f12d3a69c1892d8866323995f3be4 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sat, 13 Apr 2024 01:15:38 +0530 Subject: chore: upgrade deno_core to 0.274.0 (#23344) Signed-off-by: Divy Srivastava --- cli/lsp/tsc.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'cli/lsp') diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 2aac251d3..c77da221c 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -4036,6 +4036,14 @@ fn op_load<'s>( fn op_resolve( state: &mut OpState, #[serde] args: ResolveArgs, +) -> Result>, AnyError> { + op_resolve_inner(state, args) +} + +#[inline] +fn op_resolve_inner( + state: &mut OpState, + args: ResolveArgs, ) -> Result>, AnyError> { let state = state.borrow_mut::(); let mark = state.performance.mark_with_args("tsc.op.op_resolve", &args); @@ -5585,7 +5593,7 @@ mod tests { ) .await; let mut state = setup_op_state(snapshot); - let resolved = op_resolve::call( + let resolved = op_resolve_inner( &mut state, ResolveArgs { base: "file:///a.ts".to_string(), -- cgit v1.2.3