authorgravatar for mustafauzun0@gmail.comMustafa Uzun <mustafauzun0@gmail.com> 2023-08-21 15:25:02+03:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-09-06 19:08:37+03:00
log1f726cc8828978cf663e86205800ee27d873c5f8
tree1b0748d06c02e6fae548aeef61944dcb5b487180
parentcab9da35bd65c81e8efbac3a6c970ce17627e4c7

fix: panic message typo


1 files changed, 4 insertions(+), 4 deletions(-)

src/Autodoc.zig+4-4
...@@ -332,15 +332,15 @@ fn generateZirData(self: *Autodoc, output_dir: std.fs.Dir) !void {...@@ -332,15 +332,15 @@ fn generateZirData(self: *Autodoc, output_dir: std.fs.Dir) !void {
332 );332 );
333333
334 if (self.ref_paths_pending_on_decls.count() > 0) {334 if (self.ref_paths_pending_on_decls.count() > 0) {
335 @panic("some decl paths were never fully analized (pending on decls)");335 @panic("some decl paths were never fully analyzed (pending on decls)");
336 }336 }
337337
338 if (self.ref_paths_pending_on_types.count() > 0) {338 if (self.ref_paths_pending_on_types.count() > 0) {
339 @panic("some decl paths were never fully analized (pending on types)");339 @panic("some decl paths were never fully analyzed (pending on types)");
340 }340 }
341341
342 if (self.pending_ref_paths.count() > 0) {342 if (self.pending_ref_paths.count() > 0) {
343 @panic("some decl paths were never fully analized");343 @panic("some decl paths were never fully analyzed");
344 }344 }
345345
346 var data = DocData{346 var data = DocData{
...@@ -984,7 +984,7 @@ fn walkInstruction(...@@ -984,7 +984,7 @@ fn walkInstruction(
984 // Immediately add this module to the import table of our984 // Immediately add this module to the import table of our
985 // current module, regardless of wether it's new or not.985 // current module, regardless of wether it's new or not.
986 if (self.modules.getPtr(file.pkg)) |current_module| {986 if (self.modules.getPtr(file.pkg)) |current_module| {
987 // TODO: apparently, in the stdlib a file gets analized before987 // TODO: apparently, in the stdlib a file gets analyzed before
988 // its module gets added. I guess we're importing a file988 // its module gets added. I guess we're importing a file
989 // that belongs to another module through its file path?989 // that belongs to another module through its file path?
990 // (ie not through its module name).990 // (ie not through its module name).