aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorxackus <14938807+xackus@users.noreply.github.com>2020-04-02 00:00:42 +0200
committerxackus <14938807+xackus@users.noreply.github.com>2020-04-02 16:12:08 +0200
commit7a28c644aa8eb3d27dee113338af8278f8f6334f (patch)
treede1a483b9d9fa9224a50c94522da6bb3308b016c /lib/std/debug.zig
parentd3ab0eb28de5a5a94fd4ef988dd4c4b0e3ddf927 (diff)
downloadzig-7a28c644aa8eb3d27dee113338af8278f8f6334f.tar.gz
zig-7a28c644aa8eb3d27dee113338af8278f8f6334f.zip
new ArrayList API: fix everything else
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
index 9e14d132a8..ed327fc6de 100644
--- a/lib/std/debug.zig
+++ b/lib/std/debug.zig
@@ -1478,7 +1478,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
var coff_section: *coff.Section = undefined;
const mod_index = for (self.sect_contribs) |sect_contrib| {
- if (sect_contrib.Section > self.coff.sections.len) continue;
+ if (sect_contrib.Section > self.coff.sections.items.len) continue;
// Remember that SectionContribEntry.Section is 1-based.
coff_section = &self.coff.sections.span()[sect_contrib.Section - 1];