mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
InternPool: fix dumping of simple types
This commit is contained in:
parent
1abc904075
commit
14192019ff
1 changed files with 2 additions and 2 deletions
|
|
@ -9362,8 +9362,8 @@ fn dumpAllFallible(ip: *const InternPool) anyerror!void {
|
|||
switch (tag) {
|
||||
.removed => {},
|
||||
|
||||
.simple_type => try w.print("{s}", .{@tagName(@as(SimpleType, @enumFromInt(data)))}),
|
||||
.simple_value => try w.print("{s}", .{@tagName(@as(SimpleValue, @enumFromInt(data)))}),
|
||||
.simple_type => try w.print("{s}", .{@tagName(@as(SimpleType, @enumFromInt(@intFromEnum(i))))}),
|
||||
.simple_value => try w.print("{s}", .{@tagName(@as(SimpleValue, @enumFromInt(@intFromEnum(i))))}),
|
||||
|
||||
.type_int_signed,
|
||||
.type_int_unsigned,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue