From 17928428082768497d909b3fd55615be21a7660c Mon Sep 17 00:00:00 2001 From: Vallahor Date: Thu, 26 May 2022 16:57:20 -0300 Subject: [PATCH] fix: typeOf "match failed" with a call after @TypeOf() --- src/Autodoc.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Autodoc.zig b/src/Autodoc.zig index 6302abccf2..b98adba2db 100644 --- a/src/Autodoc.zig +++ b/src/Autodoc.zig @@ -2376,7 +2376,7 @@ fn tryResolveRefPath( path[i + 1] = (try self.cteTodo("match failure")).expr; continue :outer; }, - .comptimeExpr, .call => { + .comptimeExpr, .call, .typeOf => { // Since we hit a cte, we leave the remaining strings unresolved // and completely give up on resolving this decl path. //decl_path.hasCte = true;