zig
zig copied to clipboard
Sema: fix OOB access in coerceTupleToStruct
Closes https://github.com/ziglang/zig/issues/19529
not sure if I should add test for this
Probably should add a test yes :)
Please use
Type.structFieldNameand also update the equivalent code incoerceTupleToTupleto use it.I promise I'll merge this as soon as it passes the CI.
Done. However I'm not sure if pr won't reverted because of this https://github.com/ziglang/zig/pull/18071#issuecomment-1850740167
Done. However I'm not sure if pr won't reverted because of this #18071 (comment)
Right, guess I'll leave it then.
I'll be waiting. No matter how long it takes