| author | |
| committer | |
| log | ec8d29ff257a2285665e0559aa53a8cfcb251756 |
| tree | ade6ad8ce3a29672130709efd9e2e642aaf87bdc |
| parent | 2809b01b2f3fcecc4eeec7c1ee44f65ea0b80abb |
2 files changed, 3 insertions(+), 3 deletions(-)
lib/docs/main.js-3| ... | ... | @@ -1182,9 +1182,6 @@ var zigAnalysis; |
| 1182 | 1182 | default: throw "TODO"; |
| 1183 | 1183 | case typeKinds.ComptimeExpr: |
| 1184 | 1184 | { |
| 1185 | // trying to match the std lib types | |
| 1186 | // the *[1]anyopaque behavior it's happening | |
| 1187 | // because of the known issue with arrays and pointers | |
| 1188 | 1185 | return "anyopaque"; |
| 1189 | 1186 | } |
| 1190 | 1187 | case typeKinds.Array: |
src/Autodoc.zig+3| ... | ... | @@ -143,6 +143,9 @@ pub fn generateZirData(self: *Autodoc) !void { |
| 143 | 143 | .ComptimeFloat = .{ .name = tmpbuf.toOwnedSlice() }, |
| 144 | 144 | }, |
| 145 | 145 | |
| 146 | .anyopaque_type => .{ | |
| 147 | .ComptimeExpr = .{ .name = tmpbuf.toOwnedSlice() }, | |
| 148 | }, | |
| 146 | 149 | .bool_type => .{ |
| 147 | 150 | .Bool = .{ .name = tmpbuf.toOwnedSlice() }, |
| 148 | 151 | }, |