| ... | ... | @@ -1913,8 +1913,8 @@ const Writer = struct { |
| 1913 | 1913 | try stream.writeAll(") "); |
| 1914 | 1914 | if (body.len != 0) { |
| 1915 | 1915 | try stream.print("(lbrace={d}:{d},rbrace={d}:{d}) ", .{ |
| 1916 | | src_locs.lbrace_line, @truncate(u16, src_locs.columns), |
| 1917 | | src_locs.rbrace_line, @truncate(u16, src_locs.columns >> 16), |
| 1916 | src_locs.lbrace_line + 1, @truncate(u16, src_locs.columns) + 1, |
| 1917 | src_locs.rbrace_line + 1, @truncate(u16, src_locs.columns >> 16) + 1, |
| 1918 | 1918 | }); |
| 1919 | 1919 | } |
| 1920 | 1920 | try self.writeSrc(stream, src); |
| ... | ... | @@ -1928,7 +1928,7 @@ const Writer = struct { |
| 1928 | 1928 | |
| 1929 | 1929 | fn writeDbgStmt(self: *Writer, stream: anytype, inst: Zir.Inst.Index) !void { |
| 1930 | 1930 | const inst_data = self.code.instructions.items(.data)[inst].dbg_stmt; |
| 1931 | | try stream.print("{d}, {d})", .{ inst_data.line, inst_data.column }); |
| 1931 | try stream.print("{d}, {d})", .{ inst_data.line + 1, inst_data.column + 1 }); |
| 1932 | 1932 | } |
| 1933 | 1933 | |
| 1934 | 1934 | fn writeInstRef(self: *Writer, stream: anytype, ref: Zir.Inst.Ref) !void { |