aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Type.zig b/src/Type.zig
index 9548a4e5ef..dc229fef61 100644
--- a/src/Type.zig
+++ b/src/Type.zig
@@ -314,7 +314,7 @@ pub fn print(ty: Type, writer: anytype, pt: Zcu.PerThread) @TypeOf(writer).Error
.undefined,
=> try writer.print("@TypeOf({s})", .{@tagName(s)}),
- .enum_literal => try writer.print("@TypeOf(.{s})", .{@tagName(s)}),
+ .enum_literal => try writer.writeAll("@Type(.enum_literal)"),
.generic_poison => unreachable,
},