zig icon indicating copy to clipboard operation
zig copied to clipboard

std.zig.AstGen: don't call convertToNonTupleLike in structDeclInner

Open mateusz834 opened this issue 1 month ago • 1 comments

At the beginning of structDeclInner there is a special path that handles tuples, we don't have to do anything special here.

mateusz834 avatar Nov 09 '25 17:11 mateusz834

I also have a feeling that the convertToNonTupleLike makes the code hard to reason about, i removed them in https://github.com/ziglang/zig/compare/ziglang:zig:master...mateusz834:zig:remove-convertToNonTupleLike?expand=1

Let me know what you think about this, i can put these commits also here.

mateusz834 avatar Nov 10 '25 11:11 mateusz834