diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-03-09 14:17:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-03-15 10:48:14 -0700 |
| commit | 23295f64ca8b93f32e75cef42cc1293ec334e890 (patch) | |
| tree | edb46c61f32219966c1796f4008ba41ac3fabeae /src/Compilation.zig | |
| parent | 974a6fe757fd53873e7dace177ad3ae3c425b504 (diff) | |
| download | zig-23295f64ca8b93f32e75cef42cc1293ec334e890.tar.gz zig-23295f64ca8b93f32e75cef42cc1293ec334e890.zip | |
fix ZIR decoding of error notes
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index b542c86511..ec21d2c483 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -2909,7 +2909,7 @@ pub fn addZirErrorMessages(eb: *ErrorBundle.Wip, file: *Module.File) !void { .column = @intCast(u32, err_loc.column), .source_line = try eb.addString(err_loc.source_line), }), - .notes_len = item.data.notes, + .notes_len = item.data.notesLen(file.zir), }); } |
