mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
print_zir: fix unreachable missing end paren
This commit is contained in:
parent
6c51c8e131
commit
a058696df2
@ -2217,6 +2217,7 @@ const Writer = struct {
|
||||
|
||||
fn writeUnreachable(self: *Writer, stream: anytype, inst: Zir.Inst.Index) !void {
|
||||
const inst_data = self.code.instructions.items(.data)[inst].@"unreachable";
|
||||
try stream.writeAll(") ");
|
||||
try self.writeSrc(stream, inst_data.src());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user