Commit e820173467

Andrew Kelley <andrew@ziglang.org>
2024-05-26 21:07:49
Compilation: fix sub-compilations given wrong progress node
1 parent e2e61f3
Changed files (1)
src/Compilation.zig
@@ -5968,7 +5968,7 @@ pub fn updateSubCompilation(
         const sub_node = prog_node.start(@tagName(misc_task), 0);
         defer sub_node.end();
 
-        try sub_comp.update(prog_node);
+        try sub_comp.update(sub_node);
     }
 
     // Look for compilation errors in this sub compilation