mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen
Conflicts: * src/codegen/spirv.zig * src/link/SpirV.zig We're going to want to improve the stage2 test harness to print the source file name when a compile error occurs otherwise std lib contributors are going to see some confusing CI failures when they cause stage2 AstGen compile errors.
This commit is contained in:
commit
615d45da77
35 files changed
+885
-297
No files matched your search
+1
-1
@@ -4430,7 +4430,7 @@ pub const SwitchProngSrc = union(enum) {
|
||||
log.warn("unable to load {s}: {s}", .{
|
||||
decl.namespace.file_scope.sub_file_path, @errorName(err),
|
||||
});
|
||||
return LazySrcLoc{ .node_offset = 0};
|
||||
return LazySrcLoc{ .node_offset = 0 };
|
||||
};
|
||||
const switch_node = decl.relativeToNodeIndex(switch_node_offset);
|
||||
const main_tokens = tree.nodes.items(.main_token);
|
||||
|
||||
Reference in new issue
Block a user