| ... | @@ -229,7 +229,7 @@ pub const File = struct { | ... | @@ -229,7 +229,7 @@ pub const File = struct { |
| 229 | return &c_file.base; | 229 | return &c_file.base; |
| 230 | } | 230 | } |
| 231 | | 231 | |
| 232 | pub fn fail(self: *C, src: usize, comptime format: []const u8, args: anytype) anyerror { | 232 | pub fn fail(self: *C, src: usize, comptime format: []const u8, args: anytype) error{AnalysisFail, OutOfMemory} { |
| 233 | self.error_msg = try Module.ErrorMsg.create(self.base.allocator, src, format, args); | 233 | self.error_msg = try Module.ErrorMsg.create(self.base.allocator, src, format, args); |
| 234 | return error.AnalysisFail; | 234 | return error.AnalysisFail; |
| 235 | } | 235 | } |