remove formatted panics

implements #17969
This commit is contained in:
Andrew Kelley
2024-09-25 11:11:48 -07:00
parent 04e694ad11
commit 4f8d244e7e
17 changed files with 631 additions and 741 deletions

View File

@@ -88,11 +88,11 @@ pub const MutableValue = union(enum) {
.ptr = (try s.ptr.intern(pt, arena)).toIntern(),
.len = (try s.len.intern(pt, arena)).toIntern(),
} }),
.un => |u| try pt.intern(.{ .un = .{
.un => |u| try pt.internUnion(.{
.ty = u.ty,
.tag = u.tag,
.val = (try u.payload.intern(pt, arena)).toIntern(),
} }),
}),
});
}