mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Replace error message with unreachable
This commit is contained in:
parent
a2e1639d6d
commit
7b88215a49
@ -118,7 +118,7 @@ const Context = struct {
|
||||
if (self.inst_map.get(inst)) |val| {
|
||||
return val;
|
||||
}
|
||||
return self.file.fail(inst.src, "Internal error: failed to resolve inst!", .{});
|
||||
unreachable;
|
||||
}
|
||||
|
||||
fn name(self: *Context) ![]u8 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user