From 30c2921eb87c3157d52edd7d8ee874209a0f7538 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 3 Jul 2025 18:30:07 -0700 Subject: compiler: update a bunch of format strings --- src/IncrementalDebugServer.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/IncrementalDebugServer.zig') diff --git a/src/IncrementalDebugServer.zig b/src/IncrementalDebugServer.zig index 80717af42d..e7c7461e5d 100644 --- a/src/IncrementalDebugServer.zig +++ b/src/IncrementalDebugServer.zig @@ -142,8 +142,8 @@ fn handleCommand(zcu: *Zcu, output: *std.ArrayListUnmanaged(u8), cmd_str: []cons const create_gen = zcu.incremental_debug_state.navs.get(nav_index) orelse return w.writeAll("unknown nav index"); const nav = ip.getNav(nav_index); try w.print( - \\name: '{}' - \\fqn: '{}' + \\name: '{f}' + \\fqn: '{f}' \\status: {s} \\created on generation: {d} \\ @@ -260,7 +260,7 @@ fn handleCommand(zcu: *Zcu, output: *std.ArrayListUnmanaged(u8), cmd_str: []cons const ip_index: InternPool.Index = @enumFromInt(parseIndex(arg_str) orelse return w.writeAll("malformed ip index")); const create_gen = zcu.incremental_debug_state.types.get(ip_index) orelse return w.writeAll("unknown type"); try w.print( - \\name: '{}' + \\name: '{f}' \\created on generation: {d} \\ , .{ @@ -365,7 +365,7 @@ fn printType(ty: Type, zcu: *const Zcu, w: anytype) !void { .union_type, .enum_type, .opaque_type, - => try w.print("{}[{d}]", .{ ty.containerTypeName(ip).fmt(ip), @intFromEnum(ty.toIntern()) }), + => try w.print("{f}[{d}]", .{ ty.containerTypeName(ip).fmt(ip), @intFromEnum(ty.toIntern()) }), else => unreachable, } -- cgit v1.2.3