Replace error message with unreachable

This commit is contained in:
Noam Preil 2020-09-14 19:45:23 -04:00
parent a2e1639d6d
commit 7b88215a49
No known key found for this signature in database
GPG Key ID: FC347E7C85BE8238

View File

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