| ... | @@ -2215,6 +2215,7 @@ var zigAnalysis; | ... | @@ -2215,6 +2215,7 @@ var zigAnalysis; |
| 2215 | } | 2215 | } |
| 2216 | | 2216 | |
| 2217 | if (typesList.length !== 0) { | 2217 | if (typesList.length !== 0) { |
| | 2218 | window.x = typesList; |
| 2218 | resizeDomList(domListTypes, typesList.length, '<li><a href="#"></a></li>'); | 2219 | resizeDomList(domListTypes, typesList.length, '<li><a href="#"></a></li>'); |
| 2219 | for (let i = 0; i < typesList.length; i += 1) { | 2220 | for (let i = 0; i < typesList.length; i += 1) { |
| 2220 | let liDom = domListTypes.children[i]; | 2221 | let liDom = domListTypes.children[i]; |
| ... | @@ -2252,7 +2253,6 @@ var zigAnalysis; | ... | @@ -2252,7 +2253,6 @@ var zigAnalysis; |
| 2252 | if (fnsList.length !== 0) { | 2253 | if (fnsList.length !== 0) { |
| 2253 | resizeDomList(domListFns, fnsList.length, '<div><dt></dt><dd></dd></div>'); | 2254 | resizeDomList(domListFns, fnsList.length, '<div><dt></dt><dd></dd></div>'); |
| 2254 | | 2255 | |
| 2255 | window.x = domListFns; | | |
| 2256 | for (let i = 0; i < fnsList.length; i += 1) { | 2256 | for (let i = 0; i < fnsList.length; i += 1) { |
| 2257 | let decl = fnsList[i]; | 2257 | let decl = fnsList[i]; |
| 2258 | let trDom = domListFns.children[i]; | 2258 | let trDom = domListFns.children[i]; |
| ... | @@ -2594,7 +2594,7 @@ var zigAnalysis; | ... | @@ -2594,7 +2594,7 @@ var zigAnalysis; |
| 2594 | if (list[mainDeclIndex] != null) continue; | 2594 | if (list[mainDeclIndex] != null) continue; |
| 2595 | | 2595 | |
| 2596 | let decl = zigAnalysis.decls[mainDeclIndex]; | 2596 | let decl = zigAnalysis.decls[mainDeclIndex]; |
| 2597 | let declVal = decl.value; //resolveValue(decl.value); | 2597 | let declVal = resolveValue(decl.value); |
| 2598 | let declNames = item.declNames.concat([decl.name]); | 2598 | let declNames = item.declNames.concat([decl.name]); |
| 2599 | list[mainDeclIndex] = { | 2599 | list[mainDeclIndex] = { |
| 2600 | pkgNames: pkgNames, | 2600 | pkgNames: pkgNames, |
| ... | @@ -2615,7 +2615,7 @@ var zigAnalysis; | ... | @@ -2615,7 +2615,7 @@ var zigAnalysis; |
| 2615 | } | 2615 | } |
| 2616 | | 2616 | |
| 2617 | | 2617 | |
| 2618 | // Generic function | 2618 | // Generic fun/ction |
| 2619 | if (value.kind == typeKinds.Fn && value.generic_ret != null) { | 2619 | if (value.kind == typeKinds.Fn && value.generic_ret != null) { |
| 2620 | let resolvedVal = resolveValue({ expr: value.generic_ret}); | 2620 | let resolvedVal = resolveValue({ expr: value.generic_ret}); |
| 2621 | if ("type" in resolvedVal.expr) { | 2621 | if ("type" in resolvedVal.expr) { |