| ... | ... | @@ -2189,6 +2189,7 @@ fn failWithOwnedErrorMsg(sema: *Sema, err_msg: *Module.ErrorMsg) CompileError { |
| 2189 | 2189 | if (crash_report.is_enabled and sema.mod.comp.debug_compile_errors) { |
| 2190 | 2190 | const err_path = err_msg.src_loc.file_scope.fullPath(sema.mod.gpa) catch unreachable; |
| 2191 | 2191 | const err_source = err_msg.src_loc.file_scope.getSource(sema.mod.gpa) catch unreachable; |
| 2192 | if (err_msg.src_loc.lazy == .unneeded) return error.NeededSourceLocation; |
| 2192 | 2193 | const err_span = err_msg.src_loc.span(sema.mod.gpa) catch unreachable; |
| 2193 | 2194 | const err_loc = std.zig.findLineColumn(err_source.bytes, err_span.main); |
| 2194 | 2195 | std.debug.print("compile error during Sema:\n{s}:{d}:{d}: error: {s}\n{s}\n\n", .{ |