aboutsummaryrefslogtreecommitdiff
path: root/src/IncrementalDebugServer.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-07-03 18:30:07 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-07-07 22:43:52 -0700
commit30c2921eb87c3157d52edd7d8ee874209a0f7538 (patch)
tree876d4864abe53e1b43afa87b6e0f61572179ff86 /src/IncrementalDebugServer.zig
parentd09b99d043cc097de569fb32938a423342490a83 (diff)
downloadzig-30c2921eb87c3157d52edd7d8ee874209a0f7538.tar.gz
zig-30c2921eb87c3157d52edd7d8ee874209a0f7538.zip
compiler: update a bunch of format strings
Diffstat (limited to 'src/IncrementalDebugServer.zig')
-rw-r--r--src/IncrementalDebugServer.zig8
1 files changed, 4 insertions, 4 deletions
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,
}