mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
fix: apparently doing this the @as problem is solved @check
This commit is contained in:
parent
d55761f07e
commit
c0c9925255
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user