autodoc: walkResultTypeRef returns Zig's undefined instead of 0th type
This commit is contained in:
committed by
Loris Cro
parent
7f648c297e
commit
5804f3f757
@@ -1054,7 +1054,7 @@ const NAV_MODES = {
|
||||
if (wr.typeRef) return wr.typeRef;
|
||||
let resolved = resolveValue(wr);
|
||||
if (wr === resolved) {
|
||||
return { type: 0 };
|
||||
return { "undefined": {} };
|
||||
}
|
||||
return walkResultTypeRef(resolved);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user