Commit 4a08c6dd51

Loris Cro <kappaloris@gmail.com>
2022-09-02 18:13:17
autodoc: fix stage2 compile error
1 parent e72a8ed
Changed files (1)
src/Autodoc.zig
@@ -4227,7 +4227,7 @@ fn srcLocInfo(
         const tok_idx = tokens[node_idx];
         const start = tree.tokens.items(.start)[tok_idx];
         const loc = tree.tokenLocation(parent_src.bytes, tok_idx);
-        return .{
+        return SrcLocInfo{
             .line = parent_src.line + loc.line,
             .bytes = start,
             .src_node = sn,