diff options
Diffstat (limited to 'src/wire.zig')
| -rw-r--r-- | src/wire.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wire.zig b/src/wire.zig index 735fc37f..e2f85d18 100644 --- a/src/wire.zig +++ b/src/wire.zig @@ -393,7 +393,7 @@ fn clientTag(msg: ClientMsg) ClientTag { return switch (msg) { .event => |ev| switch (ev) { // Machine-local reports and 9P requests belong to the session owner. - .output, .eof, .exited, .lsp_resp, .pipe_resp, .search, .file_changed, .handed, .tick => unreachable, + .output, .eof, .exited, .lsp_resp, .pipe_resp, .search, .file_changed, .handed, .addon, .tick => unreachable, inline else => |_, t| @field(ClientTag, @tagName(t)), }, inline else => |_, t| @field(ClientTag, @tagName(t)), @@ -550,7 +550,7 @@ pub fn encodeClient(out: []u8, msg: ClientMsg) Error![]const u8 { try w.writeByte(@intFromBool(f.native_image_patches)); }, // See `clientTag`: no tag, so nothing to encode. - .output, .eof, .exited, .lsp_resp, .pipe_resp, .search, .file_changed, .handed, .tick => unreachable, + .output, .eof, .exited, .lsp_resp, .pipe_resp, .search, .file_changed, .handed, .addon, .tick => unreachable, }, } try finishMessage(&w, at); @@ -649,7 +649,7 @@ pub fn clientBound(msg: ClientMsg) usize { .paste => |b| b.len, .command => |line| line.len, // See `clientTag`: not on this wire in this direction. - .output, .eof, .exited, .lsp_resp, .pipe_resp, .search, .file_changed, .handed, .tick => unreachable, + .output, .eof, .exited, .lsp_resp, .pipe_resp, .search, .file_changed, .handed, .addon, .tick => unreachable, }, }; } |
