mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 00:23:22 +00:00
Fixed stage1 compilation error
This commit is contained in:
parent
3ed9cdc1cc
commit
f0bfdf9766
@ -308,7 +308,7 @@ fn createFromPath(base_dir: std.fs.Dir, path: []const u8) !std.fs.File {
|
||||
} else {
|
||||
return dir.createFile(toc, .{}) catch |e| switch (e) {
|
||||
error.PathAlreadyExists => try dir.openFile(toc, .{}),
|
||||
else => |e| return e,
|
||||
else => |err| return err,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user