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:
@@ -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