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 {
332332 );
333333
334334 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)");
336336 }
337337
338338 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)");
340340 }
341341
342342 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");
344344 }
345345
346346 var data = DocData{
......@@ -984,7 +984,7 @@ fn walkInstruction(
984984 // Immediately add this module to the import table of our
985985 // current module, regardless of wether it's new or not.
986986 if (self.modules.getPtr(file.pkg)) |current_module| {
987 // TODO: apparently, in the stdlib a file gets analized before
987 // TODO: apparently, in the stdlib a file gets analyzed before
988988 // its module gets added. I guess we're importing a file
989989 // that belongs to another module through its file path?
990990 // (ie not through its module name).