Commit 622714b76b
Changed files (1)
lib
docs
lib/docs/main.js
@@ -931,8 +931,7 @@ var zigAnalysis;
return exprName(switchIndex, opts);
}
case "refPath" : {
- const declRef = expr.refPath[0].declRef;
- let name = zigAnalysis.decls[declRef].name;
+ let name = exprName(expr.refPath[0]);
for (let i = 1; i < expr.refPath.length; i++) {
let component = undefined;
if ("string" in expr.refPath[i]) {