The following doesn't give me an error, which is expected:
pub const B = struct {
b: *B,
};
but when I change B to struct { B }, it errors with struct 'test.B' depends on itself:
pub const B = struct {
b: *struct { B },
};
I just updated to Zig 0.14.0 and this is still present. It's not a problem personally since I can just add a pointer, but I ran into this and was wondering if there's an explanation.