From 63e6ceefc7ab33e31c9d4f83387183e44089e443 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:35:18 -0300 Subject: lsp_client: try in place of 25 catch return error.OutOfMemory into an Err that already holds it, and of app(), which did the same; offsetAt, which only its test called, goes (the test checks posOf against strictOffset); query's gpa and status's req, never read, go, host_io's call and lspbench's two dropping the argument; the notes of the gone ZLS backend go, and renameEdits gets back its doc from above identAt Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/host_io.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/host_io.zig') diff --git a/src/host_io.zig b/src/host_io.zig index 5cdf6e0d..8db03f95 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -638,7 +638,7 @@ pub const Lsp = struct { defer pardes.memory.giveLspQuery(arena.end_index); var out: std.Io.Writer.Allocating = .init(gpa); defer out.deinit(); - pardes.lsp.query(io, gpa, arena.allocator(), .{ + pardes.lsp.query(io, arena.allocator(), .{ .kind = job.kind, .path = job.path, .source = job.source, -- cgit v1.3