authorgravatar for vallahor91@gmail.comVallahor <vallahor91@gmail.com> 2022-05-26 16:57:20-03:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-19 19:10:11-07:00
log17928428082768497d909b3fd55615be21a7660c
tree79db2161934e35039f63b1d043424a0e267c5ce8
parent270e2c18bf4dde537361f40819fb8d3991249586

fix: typeOf "match failed" with a call after @TypeOf()


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

src/Autodoc.zig+1-1
......@@ -2376,7 +2376,7 @@ fn tryResolveRefPath(
23762376 path[i + 1] = (try self.cteTodo("match failure")).expr;
23772377 continue :outer;
23782378 },
2379 .comptimeExpr, .call => {
2379 .comptimeExpr, .call, .typeOf => {
23802380 // Since we hit a cte, we leave the remaining strings unresolved
23812381 // and completely give up on resolving this decl path.
23822382 //decl_path.hasCte = true;