add: handling comptimeExpr in js

This commit is contained in:
Vallahor 2022-05-25 01:42:40 -03:00 committed by Andrew Kelley
parent 2a3fb341aa
commit 4da1f1fb32

View File

@ -1096,7 +1096,7 @@ var zigAnalysis;
return payloadHtml + "}";
}
case "comptimeExpr": {
return "[ComptimeExpr]";
return zigAnalysis.comptimeExprs[expr.comptimeExpr].code;
}
case "call": {
let call = zigAnalysis.calls[expr.call];