mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
fix: anyopaque_type. it was showing *[1]anyopaque now *anyopaque
This commit is contained in:
parent
2809b01b2f
commit
ec8d29ff25
@ -1182,9 +1182,6 @@ var zigAnalysis;
|
||||
default: throw "TODO";
|
||||
case typeKinds.ComptimeExpr:
|
||||
{
|
||||
// trying to match the std lib types
|
||||
// the *[1]anyopaque behavior it's happening
|
||||
// because of the known issue with arrays and pointers
|
||||
return "anyopaque";
|
||||
}
|
||||
case typeKinds.Array:
|
||||
|
@ -143,6 +143,9 @@ pub fn generateZirData(self: *Autodoc) !void {
|
||||
.ComptimeFloat = .{ .name = tmpbuf.toOwnedSlice() },
|
||||
},
|
||||
|
||||
.anyopaque_type => .{
|
||||
.ComptimeExpr = .{ .name = tmpbuf.toOwnedSlice() },
|
||||
},
|
||||
.bool_type => .{
|
||||
.Bool = .{ .name = tmpbuf.toOwnedSlice() },
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user