| ... | @@ -931,8 +931,7 @@ var zigAnalysis; | ... | @@ -931,8 +931,7 @@ var zigAnalysis; |
| 931 | return exprName(switchIndex, opts); | 931 | return exprName(switchIndex, opts); |
| 932 | } | 932 | } |
| 933 | case "refPath" : { | 933 | case "refPath" : { |
| 934 | const declRef = expr.refPath[0].declRef; | 934 | let name = exprName(expr.refPath[0]); |
| 935 | let name = zigAnalysis.decls[declRef].name; | | |
| 936 | for (let i = 1; i < expr.refPath.length; i++) { | 935 | for (let i = 1; i < expr.refPath.length; i++) { |
| 937 | let component = undefined; | 936 | let component = undefined; |
| 938 | if ("string" in expr.refPath[i]) { | 937 | if ("string" in expr.refPath[i]) { |