diff --git a/lib/docs/main.js b/lib/docs/main.js index a804da0c1c..ee2d8ac4b4 100644 --- a/lib/docs/main.js +++ b/lib/docs/main.js @@ -1147,10 +1147,11 @@ var zigAnalysis; return payloadHtml; } case "as": { - const typeRefArg = zigAnalysis.exprs[expr.as.typeRefArg]; + // const typeRefArg = zigAnalysis.exprs[expr.as.typeRefArg]; const exprArg = zigAnalysis.exprs[expr.as.exprArg]; - return "@as(" + exprName(typeRefArg, opts) + - ", " + exprName(exprArg, opts) + ")"; + // return "@as(" + exprName(typeRefArg, opts) + + // ", " + exprName(exprArg, opts) + ")"; + return exprName(exprArg, opts); } case "declRef": { return zigAnalysis.decls[expr.declRef].name;