ziglings/patches/patches/082_anonymous_structs3.patch
Dave Gauer f6d1b36be2 Manually cleaned up patches/patches for issue #73
Patches cleaned and fixed by hand as proof of my devotion. <3
2022-03-19 21:10:44 -04:00

16 lines
361 B
Diff

85c85
< const fields = ???;
---
> const fields = @typeInfo(@TypeOf(tuple)).Struct.fields;
92c92
< for (fields) |field| {
---
> inline for (fields) |field| {
120,122c120,122
< field.???,
< field.???,
< ???,
---
> field.name,
> field.field_type,
> @field(tuple, field.name),